fix(ci): configure git auth for homebrew-tap push (#326)
Some checks failed
Release: Tag Push / build (amd64, linux, ubuntu-latest) (push) Failing after 1s
Release: Tag Push / build (arm64, linux, ubuntu-latest) (push) Failing after 1s
Release: Tag Push / release (push) Has been cancelled
Release: Tag Push / build (amd64, windows, windows-latest) (push) Has been cancelled
Release: Tag Push / build (arm64, darwin, macos-latest) (push) Has been cancelled
Some checks failed
Release: Tag Push / build (amd64, linux, ubuntu-latest) (push) Failing after 1s
Release: Tag Push / build (arm64, linux, ubuntu-latest) (push) Failing after 1s
Release: Tag Push / release (push) Has been cancelled
Release: Tag Push / build (amd64, windows, windows-latest) (push) Has been cancelled
Release: Tag Push / build (arm64, darwin, macos-latest) (push) Has been cancelled
Set remote URL with x-access-token so git push can authenticate to the homebrew-tap repository using HOMEBREW_TAP_TOKEN. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1cb30d2b69
commit
313d6a1cd5
1 changed files with 4 additions and 1 deletions
5
.github/workflows/alpha-release.yml
vendored
5
.github/workflows/alpha-release.yml
vendored
|
|
@ -171,8 +171,11 @@ jobs:
|
||||||
LINUX_AMD64=$(cat dist/core-linux-amd64.tar.gz.sha256)
|
LINUX_AMD64=$(cat dist/core-linux-amd64.tar.gz.sha256)
|
||||||
LINUX_ARM64=$(cat dist/core-linux-arm64.tar.gz.sha256)
|
LINUX_ARM64=$(cat dist/core-linux-arm64.tar.gz.sha256)
|
||||||
|
|
||||||
# Clone tap repo
|
# Clone tap repo (configure auth for push)
|
||||||
gh repo clone host-uk/homebrew-tap /tmp/tap -- --depth=1
|
gh repo clone host-uk/homebrew-tap /tmp/tap -- --depth=1
|
||||||
|
cd /tmp/tap
|
||||||
|
git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/host-uk/homebrew-tap.git"
|
||||||
|
cd -
|
||||||
mkdir -p /tmp/tap/Formula
|
mkdir -p /tmp/tap/Formula
|
||||||
|
|
||||||
# Write formula
|
# Write formula
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue