Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Update build-macos-arm64.yml

RustDesk19bf5f1a2375
diff --git a/.github/workflows/build-macos-arm64.yml b/.github/workflows/build-macos-arm64.yml
index 7c12567f6..c46b53729 100644
--- a/.github/workflows/build-macos-arm64.yml
+++ b/.github/workflows/build-macos-arm64.yml
@@ -36,8 +36,24 @@ jobs:
name: build-for-macOS-arm64
runs-on: [self-hosted, macOS, ARM64]
steps:
+ - name: Import the codesign cert
+ if: env.MACOS_P12_BASE64 != null
+ uses: apple-actions/import-codesign-certs@v1
+ with:
+ p12-file-base64: ${{ secrets.MACOS_P12_BASE64 }}
+ p12-password: ${{ secrets.MACOS_P12_PASSWORD }}
+ keychain: rustdesk
+
+ - name: Check sign and import sign key
+ if: env.MACOS_P12_BASE64 != null
+ run: |
+ security default-keychain -s rustdesk.keychain
+ security find-identity -v
+
- name: Run
shell: bash
run: |
cd /opt/build
+ security default-keychain -s rustdesk.keychain
+ security unlock-keychain -p ${{ secrets.MACOS_P12_PASSWORD }} rustdesk.keychain
./agent.sh