v0.29.2 #36
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: publish | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
env: | |
GO_VERSION: "1.20" | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: install dos2unix | |
run: sudo apt-get install dos2unix | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: build release binaries | |
run: bash ./tests/build-release.sh | |
- name: make archives | |
run: bash ./tests/make-archives.sh | |
- name: ls | |
run: ls output/ | |
- name: upload binaries to release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: output/* |