Skip to content

Commit

Permalink
chore: upload to IPFS
Browse files Browse the repository at this point in the history
  • Loading branch information
Xmader committed Oct 30, 2020
1 parent 6051f08 commit f7ec96d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,18 @@ jobs:
EXT_ID: musescore-downloader
OUT_DIR: ${{ env.ARTIFACTS_DIR }}

- name: Upload to IPFS
uses: aquiladev/[email protected]
id: ipfs
with:
path: ${{ env.ARTIFACTS_DIR }}
service: infura
verbose: true

- name: Github Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IPFS_HASH: ${{ steps.ipfs.outputs.hash }}
run: |
cd $ARTIFACTS_DIR
Expand All @@ -82,5 +91,6 @@ jobs:
hub release create \
"${assets[@]}" \
-m v$VERSION \
-m "IPFS Hash: [$IPFS_HASH](https://ipfs.io/ipfs/$IPFS_HASH)" \
-t $REF \
v$VERSION

0 comments on commit f7ec96d

Please sign in to comment.