Skip to content

Commit

Permalink
chore(ci): init release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
heronimus committed Oct 18, 2023
1 parent 08362ae commit 2b076e7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
release:
types: [created]

jobs:
go-test:
name: Test
uses: ./.github/workflows/test.yml@${{ github.sha }}

go-build:
name: Build
uses: ./.github/workflows/build.yml@${{ github.sha }}

go-build:
name: Run Go Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.x]
steps:
- name: Download coverage output file
uses: actions/download-artifact@v3
with:
name: world-cli
- name: Publish binary to Github Release
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'world-cli'

0 comments on commit 2b076e7

Please sign in to comment.