修正OS X CI错误
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -88,7 +88,7 @@ jobs:
|
||||
path: ${{steps.sign_app.outputs.signedReleaseFile}}
|
||||
|
||||
build-macOS:
|
||||
runs-on: macos-11.5
|
||||
runs-on: macos-10.15
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Pack love
|
||||
@@ -102,16 +102,14 @@ jobs:
|
||||
python3 .github/workflows/updateOSXVersion.py
|
||||
mv Techmino.love Techmino.app/Contents/Resources
|
||||
- name: Codesign executable
|
||||
# <identity-id> can be found at running `security find-identity -v`
|
||||
# <your-password> is any password you like, it is there just to create the keychain
|
||||
# Add in secrets:
|
||||
# In secrets:
|
||||
# - MACOS_CERTIFICATE: the *.p12 Developer ID Certificate, encoded in base64
|
||||
# - MACOS_CERTIFICATE_PWD: The password
|
||||
env:
|
||||
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
|
||||
MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}
|
||||
run: |
|
||||
echo $MACOS_CERTIFICATE | base64 —decode > certificate.p12
|
||||
echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12
|
||||
security create-keychain -p Techminohaowan build.keychain
|
||||
security default-keychain -s build.keychain
|
||||
security unlock-keychain -p Techminohaowan build.keychain
|
||||
|
||||
Reference in New Issue
Block a user