We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0512e1f commit ff512ddCopy full SHA for ff512dd
1 file changed
.github/workflows/release.yml
@@ -10,6 +10,7 @@ permissions:
10
11
jobs:
12
release:
13
+ if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
14
runs-on: ubuntu-24.04
15
16
steps:
@@ -43,7 +44,7 @@ jobs:
43
44
- name: List downloaded files
45
run: |
46
echo "Artifacts downloaded:"
- find artifacts -type f -print
47
+ find artifacts -type f -exec readlink -f {} \;
48
49
- name: Publish wheel to GitHub PyPI
50
@@ -62,7 +63,7 @@ jobs:
62
63
EOF
64
65
# Upload wheels from artifacts
- twine upload --repository github artifacts/**/*.whl
66
+ twine upload --repository github artifacts/**/**/*.whl
67
68
- name: Create GitHub release
69
uses: softprops/action-gh-release@v2
0 commit comments