Skip to content

Commit 866ef6c

Browse files
committed
add upload of the notarized bundle to s3 download bucket
1 parent a4b470f commit 866ef6c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
runs-on: macos-12
213213
env:
214214
GON_PATH: ${{ github.workspace }}/gon
215-
needs: create-macos-bundle
215+
needs: [build, create-macos-bundle]
216216

217217
steps:
218218
- name: Download artifact
@@ -278,6 +278,10 @@ jobs:
278278
279279
- name: Sign and notarize binary
280280
run: gon -log-level=debug -log-json "${{ env.GON_CONFIG_PATH }}"
281+
282+
- name: Upload autoupdate bundle to Arduino downloads servers
283+
run: aws s3 sync ArduinoCreateAgent.app_notarized.zip s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.TARGET }}
284+
if: $ {{ needs.build.outputs.prerelease }} != 'true'
281285

282286
- name: Upload artifact
283287
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)