Skip to content

fix: Fix fork-related issues with the release action (#4) #19

fix: Fix fork-related issues with the release action (#4)

fix: Fix fork-related issues with the release action (#4) #19

Workflow file for this run

name: Compile Binaries

Check failure on line 1 in .github/workflows/compile.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/compile.yaml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
branches:
- master
- "release/**"
tags-ignore:
- '*'
pull_request:
types: ['opened', 'synchronize']
paths:
- '**.go'
- go.mod
- '.github/workflows/**'
paths-ignore:
- '**_test.go'
env:
GOPROXY: https://proxy.golang.org,direct
GO_VERSION: "1.18"
jobs:
compile:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist --skip-publish --snapshot --skip-sign