Skip to content

v4.2.2

v4.2.2 #23

Workflow file for this run

---
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