-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upload release to Github release assets
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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: | ||
|
@@ -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 |