Skip to content

Release Hash

Release Hash #43

Workflow file for this run

name: Release Hash
on:
workflow_dispatch:
inputs:
cid:
name: cid
description: IPFS Hash (if blank, pulled from latest main's build)
signature:
name: Signature
description: Signature (if blank, pulled via Seacrest)
jobs:
build:
name: Release Hash
runs-on: ubuntu-latest
environment: Production
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install Release Dependencies
run: yarn install --ignore-optional --ignore-platform
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build-workflow.yml
workflow_conclusion: success
branch: main
name: .release
if: github.event.inputs.cid == ''
- name: Seacrest
uses: hayesgm/seacrest@b87fb76eca4d03573060a86f4850395f40442087
with:
wallet_connect_project_id: ${{secrets.WALLET_CONNECT_PROJECT_ID}}
requested_network: mainnet
if: github.event.inputs.signature == ''
- name: Push IPFS Release
run: node scripts/release.js
env:
ETHEREUM_NODE: http://localhost:8585
CID: '${{github.event.inputs.cid}}'
SIGNATURE: '${{ github.event.inputs.signature }}'