mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-10-12 04:54:48 +00:00
fix(release): pass the Homebrew tap token to the cgo release
This commit is contained in:
@@ -79,6 +79,7 @@ runs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.github-token }}
|
||||
GORELEASER_KEY: ${{ inputs.goreleaser-key }}
|
||||
HOMEBREW_TAP_TOKEN: ${{ inputs.homebrew-tap-token }}
|
||||
CGO_ENABLED: ${{ inputs.cgo-enabled }}
|
||||
|
||||
- name: Run GoReleaser Pro (merge)
|
||||
@@ -91,3 +92,4 @@ runs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.github-token }}
|
||||
GORELEASER_KEY: ${{ inputs.goreleaser-key }}
|
||||
HOMEBREW_TAP_TOKEN: ${{ inputs.homebrew-tap-token }}
|
||||
|
||||
@@ -119,6 +119,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GORELEASER_KEY: ${{ secrets.GORELEASER_PRO }}
|
||||
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||
|
||||
test:
|
||||
name: Test
|
||||
@@ -285,6 +286,7 @@ jobs:
|
||||
cgo-enabled: "1"
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goreleaser-key: ${{ secrets.GORELEASER_PRO }}
|
||||
homebrew-tap-token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v7
|
||||
@@ -364,6 +366,7 @@ jobs:
|
||||
mode: merge
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goreleaser-key: ${{ secrets.GORELEASER_PRO }}
|
||||
homebrew-tap-token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
||||
|
||||
- name: Rolling release
|
||||
if: inputs.rolling-release-tag != ''
|
||||
|
||||
Reference in New Issue
Block a user