freeipa-health-metrics/.github/workflows/release.yaml

30 lines
574 B
YAML
Raw Normal View History

2023-09-05 11:46:19 -05:00
on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
2024-03-04 01:06:16 -06:00
goreleaser:
2023-09-05 11:46:19 -05:00
runs-on: ubuntu-latest
steps:
2024-03-04 01:06:16 -06:00
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v4
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}