v2.4.0 #47
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@v3 | |
- name: Docker compose | |
run: STAKE_TOKEN="uspay" TIMEOUT_COMMIT=500ms docker-compose up -d | |
- name: Copy binary | |
run: docker cp streampay_node_1:/usr/bin/streampayd ./streampayd | |
- name: Save sha256 sum | |
run: sha256sum ./streampayd > ./streampayd_sha256.txt | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
token: ${{ github.token }} | |
files: | | |
streampayd | |
streampayd_sha256.txt | |
- name: Dump docker logs on failure | |
if: failure() | |
uses: jwalton/gh-docker-logs@v2 |