Podman final #23
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
# https://goreleaser.com/ci/actions/ | |
# TODO: replace other build github actions | |
name: Build on supported platforms | |
on: | |
push: | |
tags: | |
- "*" | |
branches: | |
- master | |
- dev | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '~1.19.6' | |
check-latest: true | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
distribution: goreleaser | |
version: v1.13.1 | |
# TODO: automate github release page announce and artifact uploads | |
# https://goreleaser.com/cmd/goreleaser_release/ | |
args: release --rm-dist --skip-announce --skip-publish | |
# to automate release announcement | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret | |
# env: | |
# GITHUB_TOKEN: ... |