Skip to content

Commit c5ef654

Browse files
sign in check
1 parent 97fb613 commit c5ef654

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/mac-resign.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,12 @@ jobs:
4242
- name: Generate gon config
4343
env:
4444
AC_USER: ${{ secrets.AC_USER }}
45-
SIGNING_IDENTITY: ${{ secrets.SIGNING_IDENTITY }}
4645
run: |
4746
python3 - <<'PYEOF'
4847
import os
4948
username = os.environ['AC_USER']
5049
provider = "Z68SAQG5BR"
51-
identity = os.environ['SIGNING_IDENTITY']
50+
identity = "Developer ID Application: CHECKMARX LTD (Z68SAQG5BR)"
5251
content = f'''source = ["./dist/cx-mac-universal_darwin_all/cx"]
5352
bundle_id = "com.checkmarx.cli"
5453
@@ -85,6 +84,17 @@ jobs:
8584
echo "=== gonMac-custom.hcl (secrets redacted) ==="
8685
sed -E 's/(username|application_identity)[[:space:]]*=[[:space:]]*".*"/\1 = "***REDACTED***"/g' gonMac-custom.hcl
8786
87+
- name: Verify Apple notarization credentials
88+
env:
89+
AC_USER: ${{ secrets.AC_USER }}
90+
run: |
91+
echo "=== Verifying Apple notarization credentials ==="
92+
xcrun notarytool history \
93+
--apple-id "$AC_USER" \
94+
--password "$AC_PASSWORD" \
95+
--team-id "Z68SAQG5BR" \
96+
--limit 1
97+
8898
- name: Run GoReleaser
8999
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757
90100
with:

0 commit comments

Comments
 (0)