Skip to content

issue-#10

issue-#10 #8

Workflow file for this run

name: Create GH release
on:
# pull_request:
# types:
# - closed
# branches:
# - 'main'
push:
branches:
- "issue-#10"
jobs:
if_merged:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: "Build multiplatform"
run: make build-multiplatform
- name: Tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
DEFAULT_BUMP: minor
- name: Create a Release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.RELEASE_TOKEN }}
name: $VERSION
files: |
bin/goker-darwin-amd64
bin/goker-darwin-arm64
bin/goker-freebsd-amd64
bin/goker-freebsd-arm
bin/goker-linux-amd64
bin/goker-linux-arm
bin/goker-linux-arm64
bin/goker-windows-amd64