Skip to content

Commit 2977512

Browse files
vincenzopalazzoclaudeDouwe Osinga
authored
fix(ci): produce .tar.gz archives for Zed ACP registry compatibility (#8054)
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Signed-off-by: Douwe Osinga <douwe@squareup.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Douwe Osinga <douwe@squareup.com>
1 parent 1451c73 commit 2977512

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/build-cli.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,11 @@ jobs:
144144
# Copy the goose binary
145145
cp "target/${TARGET}/release/goose" "target/${TARGET}/release/goose-package/"
146146
147-
# Create the tar archive
148147
cd "target/${TARGET}/release"
149148
tar -cjf "goose-${TARGET}.tar.bz2" -C goose-package .
150-
echo "ARTIFACT=target/${TARGET}/release/goose-${TARGET}.tar.bz2" >> $GITHUB_ENV
149+
tar -czf "goose-${TARGET}.tar.gz" -C goose-package .
150+
echo "ARTIFACT_BZ2=target/${TARGET}/release/goose-${TARGET}.tar.bz2" >> $GITHUB_ENV
151+
echo "ARTIFACT_GZ=target/${TARGET}/release/goose-${TARGET}.tar.gz" >> $GITHUB_ENV
151152
152153
- name: Package CLI (Windows)
153154
if: matrix.os == 'windows'
@@ -161,10 +162,14 @@ jobs:
161162
162163
cd "target/${TARGET}/release"
163164
7z a -tzip "goose-${TARGET}.zip" goose-package/
164-
echo "ARTIFACT=target/${TARGET}/release/goose-${TARGET}.zip" >> $GITHUB_ENV
165+
echo "ARTIFACT_ZIP=target/${TARGET}/release/goose-${TARGET}.zip" >> $GITHUB_ENV
165166
166167
- name: Upload CLI artifact
167168
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
168169
with:
169170
name: goose-${{ matrix.architecture }}-${{ matrix.target-suffix }}
170-
path: ${{ env.ARTIFACT }}
171+
path: |
172+
${{ env.ARTIFACT_BZ2 }}
173+
${{ env.ARTIFACT_GZ }}
174+
${{ env.ARTIFACT_ZIP }}
175+

.github/workflows/canary.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ jobs:
134134
with:
135135
subject-path: |
136136
goose-*.tar.bz2
137+
goose-*.tar.gz
137138
Goose*.zip
138139
*.deb
139140
*.rpm
@@ -149,6 +150,7 @@ jobs:
149150
token: ${{ secrets.GITHUB_TOKEN }}
150151
artifacts: |
151152
goose-*.tar.bz2
153+
goose-*.tar.gz
152154
Goose*.zip
153155
*.deb
154156
*.rpm

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
with:
107107
subject-path: |
108108
goose-*.tar.bz2
109+
goose-*.tar.gz
109110
goose-*.zip
110111
Goose*.zip
111112
*.deb
@@ -120,6 +121,7 @@ jobs:
120121
token: ${{ secrets.GITHUB_TOKEN }}
121122
artifacts: |
122123
goose-*.tar.bz2
124+
goose-*.tar.gz
123125
goose-*.zip
124126
Goose*.zip
125127
*.deb
@@ -139,6 +141,7 @@ jobs:
139141
token: ${{ secrets.GITHUB_TOKEN }}
140142
artifacts: |
141143
goose-*.tar.bz2
144+
goose-*.tar.gz
142145
goose-*.zip
143146
Goose*.zip
144147
*.deb

0 commit comments

Comments
 (0)