From 60bec9a2ef9c05f435f6f291cda6ad6274d2f6b4 Mon Sep 17 00:00:00 2001 From: WardDeb Date: Wed, 25 Sep 2024 15:00:19 +0200 Subject: [PATCH] drop conda usage from pypi action --- .github/workflows/pypi.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index a04d98c221..a7f631629d 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -15,15 +15,14 @@ jobs: name: upload to pypi runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: mamba-org/setup-micromamba@main + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - environment-file: .github/test_and_build.yml - cache-downloads: true - environment-name: test_and_build + python-version: '3.12' + cache: 'pip' - name: build run: | - micromamba activate test_and_build + pip install .[actions] rm -f dist/* python -m build - name: upload @@ -31,5 +30,4 @@ jobs: TWINE_USERNAME: "__token__" TWINE_PASSWORD: ${{ secrets.pypi_password }} run: | - micromamba activate test_and_build twine upload dist/*