Merge pull request #384 from dex4er/goreleaser-on-tags #75
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: Build | |
on: | |
pull_request: {} | |
merge_group: | |
types: [checks_requested] | |
push: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build binaries | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --force --tags | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- uses: goreleaser/goreleaser-action@v4 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: build --clean --snapshot | |
- run: dist/powerline-go_linux_amd64_v1/powerline-go --help |