File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
security default-keychain -s $KEYCHAIN
17
17
18
18
echo "$DARWIN_TOOLCHAIN_APPLICATION_CERT_BASE64" | base64 --decode -o developerID_application.p12
19
- security import developerID_application.p12 -P "$DARWIN_TOOLCHAIN_APPLICATION_CERT_PASSWORD" -T /usr/bin/codesign
19
+ security import developerID_application.p12 -P "$DARWIN_TOOLCHAIN_APPLICATION_CERT_PASSWORD" -T /usr/bin/pkgbuild -T /usr/bin/ codesign
20
20
echo "$DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64" | base64 --decode -o developerID_installer.p12
21
- security import developerID_installer.p12 -P "$DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD" -T /usr/bin/pkgbuild
21
+ security import developerID_installer.p12 -P "$DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD" -T /usr/bin/pkgbuild -T /usr/bin/codesign
22
22
23
23
security set-key-partition-list -S "apple-tool:,apple:" -s -k "$KEYCHAIN_PASSWORD" $KEYCHAIN
24
24
env :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ github() {
17
17
curl --header " authorization: Bearer $GITHUB_TOKEN " " $@ "
18
18
}
19
19
20
- latest_run=$( github " ${gh_api} /repos/${repository} /actions/workflows/${workflow_name} /runs?head_branch=${branch} &status=completed&conclusion= success" \
20
+ latest_run=$( github " ${gh_api} /repos/${repository} /actions/workflows/${workflow_name} /runs?head_branch=${branch} &status=success" \
21
21
| jq " .workflow_runs | map(select(.head_branch == \" $branch \" )) | sort_by(.run_number) | last" )
22
22
23
23
if [ -z " $latest_run " ] || [ " $latest_run " == " null" ]; then
You can’t perform that action at this time.
0 commit comments