v4.1.5-rc0 #32
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@v4 | |
- uses: actions/setup-go@v5 | |
- name: build | |
run: make build | |
- name: sha512sum | |
run: sha512sum bin/migalood > migalood_sha512.txt | |
- name: 'Upload Binary' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: migalood | |
path: bin/migalood | |
- name: 'Upload SHA512' | |
uses: actions/upload-artifact@v4 | |
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"]' | |