Build Release Binaries #7
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 Release Binaries | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
name: Build release binaries | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.20 | |
- 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: "DEBUG: What's our directory & what's in it?" | |
run: pwd && ls | |
- name: Build the uuid7 executables | |
run: ./build-executables.sh ${{ github.event.release.tag_name }} | |
- name: List the uuid7 executables | |
run: ls -l ./release | |
- name: Upload the uuid7 binaries | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
file: ./release/uuid7-* | |
file_glob: true |