Skip to content

Commit e79d90a

Browse files
committed
Upload python artifacts to release assets
Signed-off-by: Federico Busetti <[email protected]>
1 parent 34f4b9e commit e79d90a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ name: release
55
on:
66
release:
77
types: [ published ]
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
810

911
jobs:
1012
build:
@@ -40,6 +42,7 @@ jobs:
4042
runs-on: ubuntu-latest
4143
needs: build
4244
permissions:
45+
contents: write
4346
id-token: write
4447

4548
steps:
@@ -49,6 +52,12 @@ jobs:
4952
name: dist
5053
path: dist
5154

55+
- name: Upload binaries to release
56+
uses: shogo82148/actions-upload-release-asset@v1
57+
with:
58+
upload_url: ${{ github.event.release.upload_url }}
59+
asset_path: dist/*
60+
5261
- name: Publish package distributions to TestPyPI
5362
uses: pypa/gh-action-pypi-publish@release/v1
5463
################################

0 commit comments

Comments
 (0)