Skip to content

Commit a673b4d

Browse files
authored
Merge pull request #136 from Vizonex/wheel-uploads
upload wheels onto release page when new versions are made.
2 parents 1067680 + 4aaf379 commit a673b4d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/release-wheels.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,22 @@ jobs:
1616
build_sdist:
1717
uses: ./.github/workflows/run-sdist.yml
1818

19+
upload_github:
20+
needs: [build_wheels, build_sdist]
21+
if: github.event_name == 'release' && github.ref_type == 'tag'
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/download-artifact@v8
25+
with:
26+
path: dist
27+
merge-multiple: true
28+
29+
- name: Upload Wheels To GitHub Release Page
30+
uses: softprops/action-gh-release@v3
31+
with:
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
files: dist/*
34+
1935
upload_pypi:
2036
needs: [build_wheels, build_sdist]
2137
if: github.event_name == 'release' && github.event.action == 'published'

0 commit comments

Comments
 (0)