Skip to content

Commit 31b0a9d

Browse files
authored
The CI is now able to produce valid macOS Ventura bundles (#740)
* rename release workflow * bump macos runner to macos-12 * bump ubuntu runner to ubuntu 20.04 * add project name env var, even in the `bundle_id` * rework a bit notarization step * move the bundle generation to a dedicated step: This way we can notarize all the bundle and not only the binary. * use the zip notarized file coming from gon, this requires changes in the installer config * use this fork (https://github.com/darkvertex/gon/tree/deep_sign_support) to use deep notarization, since this is not yet merged mitchellh/gon#42 * test (move the config.ini) to see if notarization works * fix zip archive being included in the installer * github is deprecating `set-output commands` https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * forgot "$", special encoding is not needed anymore after 62f7d9d https://github.com/orgs/community/discussions/35994#discussioncomment-3971397 * fix `unable-to-process-file-command-output-successfully` https://stackoverflow.com/questions/74137120/how-to-fix-or-avoid-error-unable-to-process-file-command-output-successfully
1 parent cf85699 commit 31b0a9d

8 files changed

+201
-118
lines changed

.github/workflows/check-certificates.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
if: >
2727
(github.event_name != 'pull_request' && github.repository == 'arduino/arduino-create-agent') ||
2828
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'arduino/arduino-create-agent')
29-
runs-on: ubuntu-18.04
29+
runs-on: ubuntu-20.04
3030

3131
strategy:
3232
fail-fast: false
@@ -109,7 +109,7 @@ jobs:
109109
echo "Certificate expiration date: $EXPIRATION_DATE"
110110
echo "Days remaining before expiration: $DAYS_BEFORE_EXPIRATION"
111111
112-
echo "::set-output name=days::$DAYS_BEFORE_EXPIRATION"
112+
echo "days=$DAYS_BEFORE_EXPIRATION" >> $GITHUB_OUTPUT
113113
114114
- name: Check if expiration notification period has been reached
115115
id: check-expiration

.github/workflows/check-go-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
RESULT="false"
5757
fi
5858
59-
echo "::set-output name=result::$RESULT"
59+
echo "result=$RESULT" >> $GITHUB_OUTPUT
6060
6161
check-cache:
6262
needs: run-determination

.github/workflows/check-license.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
RESULT="false"
5555
fi
5656
57-
echo "::set-output name=result::$RESULT"
57+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5858
5959
check-license:
6060
needs: run-determination

.github/workflows/publish-go-tester-task.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
RESULT="false"
5555
fi
5656
57-
echo "::set-output name=result::$RESULT"
57+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5858
5959
#this job is heavily customized because the build is quite a bit different from other tooling team projects
6060
build:
@@ -64,7 +64,7 @@ jobs:
6464
#use the strategy instead because we still use the native build
6565
strategy:
6666
matrix:
67-
os: [ubuntu-18.04, windows-2019, macos-11]
67+
os: [ubuntu-20.04, windows-2019, macos-12]
6868
arch: [-amd64]
6969
include:
7070
- os: windows-2019

0 commit comments

Comments
 (0)