We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eecd08 commit 0ef48beCopy full SHA for 0ef48be
.github/workflows/python-tests.yml
@@ -121,6 +121,23 @@ jobs:
121
- name: Publish package to PyPI
122
uses: pypa/gh-action-pypi-publish@release/v1
123
124
+ upload-release-assets:
125
+ runs-on: ubuntu-latest
126
+ if: github.event_name == 'release' && github.event.action == 'published'
127
+ needs: [test]
128
+ permissions:
129
+ contents: write
130
+ steps:
131
+ - uses: actions/download-artifact@v4
132
+ with:
133
+ name: Packages
134
+ path: dist
135
+ - name: Upload release assets
136
+ uses: softprops/action-gh-release@v2
137
138
+ files: dist/*
139
+ fail_on_unmatched_files: true
140
+
141
test-pypi-upload:
142
runs-on: ubuntu-latest
143
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
0 commit comments