v20.0.0 #88
Workflow file for this run
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
--- | |
name: release binary | |
on: | |
release: | |
types: [created] | |
jobs: | |
release-alpine-static: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Docker compose | |
run: STAKE_TOKEN="ujunox" TIMEOUT_COMMIT=500ms docker-compose up -d | |
- name: Copy binary | |
run: docker cp juno_node_1:/usr/bin/junod ./junod | |
- name: Save sha256 sum | |
run: sha256sum ./junod > ./junod_sha256.txt | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
token: ${{ github.token }} | |
files: | | |
junod | |
junod_sha256.txt | |
- name: Dump docker logs on failure | |
if: failure() | |
uses: jwalton/gh-docker-logs@v2 |