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