Generate PACKAGES #5
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: Generate PACKAGES | |
on: | |
workflow_dispatch: | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 # v3.5.3 | |
with: | |
# Allow goreleaser to access older tag information. | |
fetch-depth: 0 | |
- uses: actions/[email protected] # v4.0.0 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0 | |
with: | |
args: release --clean --release-notes=${{ steps.release-notes-download.outputs.download-path }}/release-notes.txt | |
env: | |
# GitHub sets the GITHUB_TOKEN secret automatically. | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TAP_GITHUB_TOKEN: ${{ secrets.CHANGELOG_PAT }} |