Skip to content

Commit c90cd00

Browse files
upload binaries on release (#304)
1 parent 935edae commit c90cd00

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,19 @@ jobs:
4747
- name: Generate artifact attestation
4848
uses: actions/attest-build-provenance@v3
4949
with:
50-
subject-path: "wheels-*/*"
50+
subject-path: |
51+
wheels-*/*
52+
binary-*/*
5153
5254
- name: Publish to PyPI
5355
uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380
5456
with:
5557
command: upload
5658
args: --non-interactive --skip-existing wheels-*/*
59+
60+
- name: Upload release assets to GitHub
61+
env:
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
TAG_NAME: ${{ github.ref_name }}
64+
run: |
65+
gh release upload "${TAG_NAME}" binary-*/*

0 commit comments

Comments
 (0)