Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update release workflow #223

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -70,13 +70,10 @@ jobs:
python3 -m twine check --strict dist/*

- name: Attach modules to the release
uses: svenstaro/upload-release-action@84f3aed82331a2c0c665cf8e9707228f766aba9d
with:
repo_token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
tag: ${{ needs.release.outputs.tag_name }}
file: dist/*
file_glob: true
overwrite: true
env:
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
run: |
gh release upload --clobber "${{ needs.release.outputs.tag_name }}" dist/*

# This uses PyPi's trusted publishing config. It can see and verify that
# the publication request comes from this repo and this exact workflow,