v4.2.2 #23
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="uterp" TIMEOUT_COMMIT=500ms docker-compose up -d | |
- name: Copy binary | |
run: docker cp terpd_node_1:/usr/bin/terpd ./terpd | |
- name: Save sha256 sum | |
run: sha256sum ./terpd > ./terpd_sha256.txt | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
token: ${{ github.token }} | |
files: | | |
terpd | |
terpd_sha256.txt | |
- name: Dump docker logs on failure | |
if: failure() | |
uses: jwalton/gh-docker-logs@v2 |