Release #12
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: Release | |
on: | |
release: | |
types: [created] | |
jobs: | |
go-test: | |
name: Test | |
uses: ./.github/workflows/test.yml | |
go-build: | |
name: Build | |
uses: ./.github/workflows/build.yml | |
with: | |
create_release: true | |
release: | |
name: Release world-cli binary | |
runs-on: ubuntu-latest | |
needs: [go-test, go-build] | |
strategy: | |
matrix: | |
go-version: [1.21.x] | |
steps: | |
- name: Download world-cli build binary | |
uses: actions/download-artifact@v3 | |
- name: Publish world-cli binary to corresponding Github Release | |
uses: skx/github-action-publish-binaries@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: 'world-cli*' |