Stable Release v1.0.0 #6
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: Build Binaries | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.22.6 | |
- name: Display the version of go that we have installed | |
run: go version | |
- name: Display the release tag | |
run: echo ${{ github.event.release.tag_name }} | |
- name: Build the binaries | |
run: ./build.sh ${{ github.event.release.tag_name }} | |
- name: List the builds | |
run: ls -l ./bin | |
- name: Upload the Rodeo binaries | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.TOKEN }} | |
tag: ${{ github.ref }} | |
file: ./bin/dumpon-* | |
file_glob: true |