v1.2.2 #28
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 | |
secrets: inherit | |
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: Display downloaded files | |
run: | | |
ls -R | |
- 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*/*.tar.gz' |