Skip to content

Commit

Permalink
upload release to Github release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Jun 2, 2022
1 parent 1abeaa8 commit e513170
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/prod-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
- name: Create Extension Zip file
run: yarn zip

- name: Add zip to Github release
uses: softprops/action-gh-release@v1
with:
files: ./zodiac-pilot.zip

- run: mkdir release
- run: mv ./zodiac-pilot.zip ./release/zodiac-pilot.zip

Expand All @@ -43,7 +48,7 @@ jobs:
with:
cidv0: ${{ steps.upload.outputs.hash }}

- name: update release
- name: Update Github release notes
id: update_release
uses: tubone24/[email protected]
env:
Expand All @@ -62,3 +67,19 @@ jobs:
- https://gnosis.mypinata.cloud/ipfs/${{ steps.upload.outputs.hash }}
- https://${{ steps.convert_cidv0.outputs.cidv1 }}.ipfs.dweb.link/
- https://${{ steps.convert_cidv0.outputs.cidv1 }}.ipfs.cf-ipfs.com/
- name: Get Github release asset upload URL
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Github release asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./release/zodiac-pilot.zip
asset_name: Unpacked Chrome extension
asset_content_type: application/zip

0 comments on commit e513170

Please sign in to comment.