From 1c353b065b7ae2f6ceac0dd20db547884a10f1f5 Mon Sep 17 00:00:00 2001 From: Jackson Tian Date: Mon, 28 Aug 2023 16:56:38 +0800 Subject: [PATCH] test sign --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..eda96ce93 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + package: + runs-on: macos-11 + steps: + name: Sign binary + uses: lando/code-sign-action@v2 + with: + file: path/to/binary + certificate-data: ${{ secrets.APPLE_CERT_DATA }} + certificate-password: ${{ secrets.APPLE_CERT_PASSWORD }} + apple-notary-user: ${{ secrets.APPLE_NOTARY_USER }} + apple-notary-password: ${{ secrets.APPLE_NOTARY_PASSWORD }} + apple-notary-tool: altool + apple-team-id: FY8GAUX282 + apple-product-id: dev.lando.code-sign-action + options: --options runtime --entitlements entitlements.xml \ No newline at end of file