Skip to content

Commit

Permalink
Deactivate (not working) certificate handling for macOS CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lucksus committed Nov 15, 2024
1 parent c30de64 commit 23497b3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/publish_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,19 +133,19 @@ jobs:
- name: Install core dependencies
run: cd ./core && pnpm install --no-cache

- name: Decrypt and install certificates
if: matrix.platform == 'macos-latest'
env:
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
run: |
echo $APPLE_CERTIFICATE | base64 --decode > certificate.p12
security create-keychain -p "actions" build.keychain
security import certificate.p12 -k build.keychain -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign
security list-keychain -d user -s build.keychain
security unlock-keychain -p "actions" build.keychain
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "actions" build.keychain
#- name: Decrypt and install certificates
# if: matrix.platform == 'macos-latest'
# env:
# APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
# APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
# run: |
# echo $APPLE_CERTIFICATE | base64 --decode > certificate.p12
# security create-keychain -p "actions" build.keychain
# security import certificate.p12 -k build.keychain -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign
# security list-keychain -d user -s build.keychain
# security unlock-keychain -p "actions" build.keychain
# mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
# security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "actions" build.keychain

- name: Build AD4M-CLI & build Launcher binary (macos/linux-latest)
if: matrix.platform != 'windows-latest'
Expand Down

0 comments on commit 23497b3

Please sign in to comment.