Update build-macos-arm64.yml
This commit is contained in:
parent
d699496a52
commit
3faa18c020
30
.github/workflows/build-macos-arm64.yml
vendored
30
.github/workflows/build-macos-arm64.yml
vendored
@ -36,25 +36,25 @@ jobs:
|
|||||||
name: build-for-macOS-arm64
|
name: build-for-macOS-arm64
|
||||||
runs-on: [self-hosted, macOS, ARM64]
|
runs-on: [self-hosted, macOS, ARM64]
|
||||||
steps:
|
steps:
|
||||||
- name: Import the codesign cert
|
#- name: Import the codesign cert
|
||||||
if: env.MACOS_P12_BASE64 != null
|
# if: env.MACOS_P12_BASE64 != null
|
||||||
uses: apple-actions/import-codesign-certs@v1
|
# uses: apple-actions/import-codesign-certs@v1
|
||||||
continue-on-error: true
|
# continue-on-error: true
|
||||||
with:
|
# with:
|
||||||
p12-file-base64: ${{ secrets.MACOS_P12_BASE64 }}
|
# p12-file-base64: ${{ secrets.MACOS_P12_BASE64 }}
|
||||||
p12-password: ${{ secrets.MACOS_P12_PASSWORD }}
|
# p12-password: ${{ secrets.MACOS_P12_PASSWORD }}
|
||||||
keychain: rustdesk
|
# keychain: rustdesk
|
||||||
|
|
||||||
- name: Check sign and import sign key
|
#- name: Check sign and import sign key
|
||||||
if: env.MACOS_P12_BASE64 != null
|
# if: env.MACOS_P12_BASE64 != null
|
||||||
run: |
|
# run: |
|
||||||
security default-keychain -s rustdesk.keychain
|
# security default-keychain -s rustdesk.keychain
|
||||||
security find-identity -v
|
# security find-identity -v
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd /opt/build
|
cd /opt/build
|
||||||
security default-keychain -s rustdesk.keychain
|
#security default-keychain -s rustdesk.keychain
|
||||||
security unlock-keychain -p ${{ secrets.MACOS_P12_PASSWORD }} rustdesk.keychain
|
#security unlock-keychain -p ${{ secrets.MACOS_P12_PASSWORD }} rustdesk.keychain
|
||||||
./agent.sh
|
./agent.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user