Skip to content

Added separate action to publish versioned binaries. #1

Added separate action to publish versioned binaries.

Added separate action to publish versioned binaries. #1

Workflow file for this run

name: Publish version
on:
push:
tags:
- "*"
jobs:
publish:

Check failure on line 9 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / Publish version

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
os: [ linux, darwin ]
arch: [ amd64, arm64 ]
steps:
- name: Check out
uses: actions/checkout@v4
- name: Create release
uses: softprops/action-gh-release@v1
- name: Publish binaries
uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.os }}
goarch: ${{ matrix.arch }}
release_tag: ${{ github.ref_name }}
asset_name: gobbler-${{ matrix.os }}-${{ matrix.arch }}
overwrite: true
compress_assets: false