|
9 | 9 | # As defined by the Taskfile's PROJECT_NAME variable
|
10 | 10 | PROJECT_NAME: arduino-create-agent
|
11 | 11 | TARGET: "/CreateAgent/Stable/"
|
12 |
| - OLD_TARGET: "/CreateBridge/" # compatibility with older releases (we can't change config.ini) |
13 | 12 | VERSION_TARGET: "arduino-create-static/agent-metadata/"
|
14 | 13 | AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
15 | 14 | AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
@@ -139,7 +138,6 @@ jobs:
|
139 | 138 | - name: Upload autoupdate files to Arduino downloads servers
|
140 | 139 | run: |
|
141 | 140 | aws s3 sync public/ s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.TARGET }}
|
142 |
| - aws s3 sync public/ s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.OLD_TARGET }} |
143 | 141 | if: steps.prerelease.outputs.IS_PRE != 'true'
|
144 | 142 |
|
145 | 143 | - name: Upload artifacts
|
@@ -224,7 +222,7 @@ jobs:
|
224 | 222 | notarize-macos:
|
225 | 223 | name: Notarize bundle
|
226 | 224 |
|
227 |
| - # for not they are exaclty the same |
| 225 | + # for now they are exaclty the same |
228 | 226 | strategy:
|
229 | 227 | matrix:
|
230 | 228 | arch: [amd64, arm64]
|
@@ -356,7 +354,7 @@ jobs:
|
356 | 354 |
|
357 | 355 | env:
|
358 | 356 | # vars used by installbuilder
|
359 |
| - INSTALLBUILDER_PATH: "/opt/installbuilder-23.7.0/bin/builder" |
| 357 | + INSTALLBUILDER_PATH: "/opt/installbuilder-23.11.0/bin/builder" |
360 | 358 | INSTALLER_VARS: "project.outputDirectory=$PWD project.version=${GITHUB_REF##*/} workspace=$PWD realname=Arduino_Create_Agent"
|
361 | 359 | # installbuilder will read this vars automatically (defined in installer.xml):
|
362 | 360 | INSTALLER_CERT_WINDOWS_PASSWORD: ${{ secrets.INSTALLER_CERT_WINDOWS_PASSWORD }}
|
@@ -385,7 +383,7 @@ jobs:
|
385 | 383 | installer-extension: .exe
|
386 | 384 |
|
387 | 385 | container:
|
388 |
| - image: floydpink/ubuntu-install-builder:23.7.0 |
| 386 | + image: floydpink/ubuntu-install-builder:23.11.0 |
389 | 387 |
|
390 | 388 | steps:
|
391 | 389 | - name: Checkout
|
@@ -498,7 +496,7 @@ jobs:
|
498 | 496 |
|
499 | 497 | - name: Install gon for code signing and app notarization
|
500 | 498 | run: |
|
501 |
| - wget -q https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip |
| 499 | + wget -q https://github.com/Bearer/gon/releases/download/v0.0.36/gon_macos.zip |
502 | 500 | unzip gon_macos.zip -d /usr/local/bin
|
503 | 501 |
|
504 | 502 | - name: Write gon config to file
|
@@ -612,5 +610,7 @@ jobs:
|
612 | 610 | - name: Update version file (used by frontend to trigger autoupdate and create filename)
|
613 | 611 | run: |
|
614 | 612 | echo {\"Version\": \"${GITHUB_REF##*/}\"} > /tmp/agent-version.json
|
| 613 | + # TODO remove this when we will have a new frontend |
615 | 614 | aws s3 cp /tmp/agent-version.json s3://${{ env.VERSION_TARGET }}
|
| 615 | + aws s3 cp /tmp/agent-version.json s3://${{ secrets.DOWNLOADS_BUCKET }}/agent-metadata/ |
616 | 616 | if: ${{ needs.build.outputs.prerelease != 'true' }}
|
0 commit comments