Skip to content

Commit

Permalink
match conda target
Browse files Browse the repository at this point in the history
  • Loading branch information
KedoKudo committed Jul 5, 2024
1 parent e451269 commit 39f5f84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
Expand All @@ -64,7 +67,7 @@ jobs:
cache-downloads-key: ${{ runner.os }}-downloads-${{ hashFiles('**/environment.yml') }}
- name: build pypi pacakge
run: |
conda activate test
echo "versioningit $(versioningit .)"
# build the package
VERSION=$(versioningit .) python -m build
# retrieve your distributions here
Expand Down

0 comments on commit 39f5f84

Please sign in to comment.