Skip to content

Commit fb4fd6b

Browse files
committed
Add missing release configurations for macos_arm64
1 parent 866a8b2 commit fb4fd6b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ jobs:
150150
name: cb_macos_amd64
151151
path: dist-macos-amd64
152152

153+
- name: Download cb_macos_arm64.zip artifact
154+
id: download_macos_arm64
155+
uses: actions/download-artifact@v4
156+
with:
157+
name: cb_macos_arm64
158+
path: dist-macos-arm64
159+
153160
- name: Create release
154161
id: create_release
155162
uses: actions/create-release@v1
@@ -190,3 +197,13 @@ jobs:
190197
asset_path: dist-macos-amd64/cb.zip
191198
asset_name: cb-v${{ steps.version.outputs.version }}_macos_amd64.zip
192199
asset_content_type: application/zip
200+
201+
- name: Update release zip from macos arm64
202+
uses: actions/upload-release-asset@v1
203+
env:
204+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
205+
with:
206+
upload_url: ${{ steps.create_release.outputs.upload_url }}
207+
asset_path: dist-macos-arm64/cb.zip
208+
asset_name: cb-v${{ steps.version.outputs.version }}_macos_arm64.zip
209+
asset_content_type: application/zip

0 commit comments

Comments
 (0)