Skip to content

Commit

Permalink
fix ci x16
Browse files Browse the repository at this point in the history
  • Loading branch information
vanutp committed Dec 20, 2024
1 parent 2a84a56 commit 195a9b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@ jobs:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
function prun() {
nix develop -c poetry run "$@"
nix develop -c poetry run python -m "$@"
}
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
prun python -m semantic_release version
prun semantic_release version
export TWINE_USERNAME="__token__"
export TWINE_PASSWORD="${PYPI_TOKEN}"
prun twine upload -r testpypi dist/*
export GH_TOKEN="${GITHUB_TOKEN}"
prun python -m semantic_release publish
prun semantic_release publish
- name: Save release commit hash
id: release-commit-hash
run: echo "::set-output name=release-commit-hash::$(git rev-parse HEAD)"
Expand Down

0 comments on commit 195a9b7

Please sign in to comment.