v2.2.7-hotfix #11
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
on: | |
release: | |
types: [created] | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
releases-matrix: | |
name: Release Go Binary | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
- name: build | |
run: make build | |
- name: sha512sum | |
run: sha512sum bin/migalood > migalood_sha512.txt | |
- name: 'Upload Binary' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: migalood | |
path: bin/migalood | |
- name: 'Upload SHA512' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sha512 | |
path: migalood_sha512.txt | |
- name: Upload release binaries | |
uses: alexellis/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
asset_paths: '["./bin/migalood", "./migalood_sha512.txt"]' | |