Temporarily disable signing until we can figure out a new way

This commit is contained in:
Phillip Stephens 2023-12-15 14:43:13 -08:00
parent 82e4fdc1d1
commit 200a2f0393
3 changed files with 31 additions and 30 deletions

View File

@ -148,19 +148,20 @@ jobs:
if: 'false' # temporarily disabled if: 'false' # temporarily disabled
run: buildcache -s run: buildcache -s
- name: Import signing certificate #- name: Import signing certificate
uses: devbotsxyz/xcode-import-certificate@master # if: 'false' # temporarily disabled
with: #uses: devbotsxyz/xcode-import-certificate@master
certificate-data: ${{secrets.MACOS_CERTIFICATE_DATA}} #with:
certificate-passphrase: ${{secrets.MACOS_CERTIFICATE_PASSWORD}} # certificate-data: ${{secrets.MACOS_CERTIFICATE_DATA}}
keychain-password: ${{secrets.MACOS_KEYCHAIN_PASSWORD}} # certificate-passphrase: ${{secrets.MACOS_CERTIFICATE_PASSWORD}}
# keychain-password: ${{secrets.MACOS_KEYCHAIN_PASSWORD}}
- name: Deploy & codesign application - name: Deploy & codesign application
env: #env:
ASC_USERNAME: ${{secrets.MACOS_ASC_USERNAME}} #ASC_USERNAME: ${{secrets.MACOS_ASC_USERNAME}}
ASC_PASSWORD: ${{secrets.MACOS_ASC_PASSWORD}} #ASC_PASSWORD: ${{secrets.MACOS_ASC_PASSWORD}}
ASC_TEAM_ID: ${{secrets.MACOS_ASC_TEAM_ID}} #ASC_TEAM_ID: ${{secrets.MACOS_ASC_TEAM_ID}}
CODESIGN_IDENT: ${{secrets.MACOS_CODESIGN_IDENT}} #CODESIGN_IDENT: ${{secrets.MACOS_CODESIGN_IDENT}}
run: ci/build-dmg.sh run: ci/build-dmg.sh
- name: Upload artifacts - name: Upload artifacts

View File

@ -168,19 +168,19 @@ jobs:
SENTRY_URL: ${{secrets.SENTRY_URL}} SENTRY_URL: ${{secrets.SENTRY_URL}}
run: ci/upload-debug-macos.sh run: ci/upload-debug-macos.sh
- name: Import signing certificate #- name: Import signing certificate
uses: devbotsxyz/xcode-import-certificate@master # uses: devbotsxyz/xcode-import-certificate@master
with: # with:
certificate-data: ${{ secrets.MACOS_CERTIFICATE_DATA }} # certificate-data: ${{ secrets.MACOS_CERTIFICATE_DATA }}
certificate-passphrase: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }} # certificate-passphrase: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
keychain-password: ${{ secrets.MACOS_KEYCHAIN_PASSWORD }} # keychain-password: ${{ secrets.MACOS_KEYCHAIN_PASSWORD }}
- name: Deploy & codesign application - name: Deploy & codesign application
env: #env:
ASC_USERNAME: ${{secrets.MACOS_ASC_USERNAME}} # ASC_USERNAME: ${{secrets.MACOS_ASC_USERNAME}}
ASC_PASSWORD: ${{secrets.MACOS_ASC_PASSWORD}} # ASC_PASSWORD: ${{secrets.MACOS_ASC_PASSWORD}}
ASC_TEAM_ID: ${{secrets.MACOS_ASC_TEAM_ID}} # ASC_TEAM_ID: ${{secrets.MACOS_ASC_TEAM_ID}}
CODESIGN_IDENT: ${{secrets.MACOS_CODESIGN_IDENT}} # CODESIGN_IDENT: ${{secrets.MACOS_CODESIGN_IDENT}}
run: ci/build-dmg.sh run: ci/build-dmg.sh
- name: Upload artifacts - name: Upload artifacts

View File

@ -1,10 +1,10 @@
#!/bin/bash -ex #!/bin/bash -ex
cd build/install cd build/install
for i in Metaforce crashpad_handler; do #for i in Metaforce crashpad_handler; do
if [ -x "Metaforce.app/Contents/MacOS/$i" ]; then # if [ -x "Metaforce.app/Contents/MacOS/$i" ]; then
codesign --timestamp --options runtime -s "$CODESIGN_IDENT" "Metaforce.app/Contents/MacOS/$i" # codesign --timestamp --options runtime -s "$CODESIGN_IDENT" "Metaforce.app/Contents/MacOS/$i"
fi # fi
done #done
create-dmg Metaforce.app --identity="$CODESIGN_IDENT" . create-dmg Metaforce.app . #--identity="$CODESIGN_IDENT" .
xcrun altool -t osx -f *.dmg --primary-bundle-id com.axiodl.Metaforce \ #xcrun altool -t osx -f *.dmg --primary-bundle-id com.axiodl.Metaforce \
--notarize-app -u "$ASC_USERNAME" -p "$ASC_PASSWORD" --team-id "$ASC_TEAM_ID" # --notarize-app -u "$ASC_USERNAME" -p "$ASC_PASSWORD" --team-id "$ASC_TEAM_ID"