We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3616be commit 71ea68dCopy full SHA for 71ea68d
1 file changed
.github/workflows/release.yml
@@ -127,14 +127,18 @@ jobs:
127
needs: release
128
runs-on: ubuntu-latest
129
# Requires HOMEBREW_TAP_TOKEN secret: a PAT with push access to codingagentsystem/homebrew-cas
130
- if: ${{ secrets.HOMEBREW_TAP_TOKEN != '' }}
131
steps:
132
- uses: actions/checkout@v4
133
134
- name: Update Homebrew formula
135
env:
136
GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
137
run: |
+ if [ -z "${GH_TOKEN}" ]; then
138
+ echo "HOMEBREW_TAP_TOKEN not set, skipping homebrew update"
139
+ exit 0
140
+ fi
141
+
142
VERSION="${GITHUB_REF#refs/tags/v}"
143
144
# Download and compute SHA256 for each platform
0 commit comments