Skip to content

Commit 5e42ced

Browse files
authored
Update deploy-pipeline.yaml
1 parent d0ac793 commit 5e42ced

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/deploy-pipeline.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
runs-on: ubuntu-latest
5151
steps:
5252
- name: create release
53+
id: create-release
5354
uses: actions/create-release@v1
5455
env:
5556
GITHUB_TOKEN: ${{ secrets.github_token }}
@@ -59,5 +60,17 @@ jobs:
5960
body: New release for ${{ github.sha }}. Release notes on the documentation site
6061
draft: false
6162
prerelease: false
62-
63+
- name: download artifact
64+
uses: actions/download-artifact@v4
65+
with:
66+
name: zipped-bundle
67+
- name: upload release asset
68+
uses: actions/upload-release-asset@v1
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.github_token }}
71+
with:
72+
upload_url: ${{ steps.create-release.outputs.upload_url }}
73+
asset_path: ./${{ github.sha }}.zip
74+
asset_name: source_code_with_libraries.zip
75+
asset_content_type: application/zip
6376

0 commit comments

Comments
 (0)