mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 02:58:13 -05:00
📦 Chore: mac build test
This commit is contained in:
parent
4915290f13
commit
bc2749ed49
11
.github/workflows/mac.yml
vendored
11
.github/workflows/mac.yml
vendored
@ -39,13 +39,10 @@ jobs:
|
||||
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
||||
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
|
||||
echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PATH
|
||||
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
||||
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
|
||||
security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
||||
security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
|
||||
security list-keychain -d user -s $KEYCHAIN_PATH
|
||||
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
echo $CERTIFICATE_PATH
|
||||
echo "create keychain"
|
||||
export CSC_LINK=$CERTIFICATE_PATH
|
||||
export CSC_KEY_PASSWORD=$P12_PASSWORD
|
||||
|
||||
# step3: install node env
|
||||
- name: Install Node.js
|
||||
|
Loading…
Reference in New Issue
Block a user