Update release.yml

This commit is contained in:
Dongdong Zhou 2021-10-11 11:05:08 +01:00
parent 6024b43710
commit 476a460ec8
1 changed files with 6 additions and 6 deletions

View File

@ -41,6 +41,10 @@ jobs:
macos: macos:
runs-on: macos-11 runs-on: macos-11
env:
NOTARIZE_USERNAME: ${{ secrets.NOTARIZE_USERNAME }}
NOTARIZE_PASSWORD: ${{ secrets.NOTARIZE_PASSWORD }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install ARM target - name: Install ARM target
@ -56,12 +60,8 @@ jobs:
run: | run: |
cp ./target/release/macos/Lapce.dmg ./target/release/macos/Lapce-macos.dmg cp ./target/release/macos/Lapce.dmg ./target/release/macos/Lapce-macos.dmg
- name: "Notarize Release Build" - name: "Notarize Release Build"
uses: devbotsxyz/xcode-notarize@v1 run: |
with: npx notarize-cli --file ./target/release/macos/Lapce-macos.dmg --bundle-id io.lapce
product-path: "./target/release/macos/Lapce-macos.dmg"
appstore-connect-username: ${{ secrets.NOTARIZE_USERNAME }}
appstore-connect-password: ${{ secrets.NOTARIZE_PASSWORD }}
primary-bundle-id: "io.lapce"
- name: "Staple Release Build" - name: "Staple Release Build"
uses: devbotsxyz/xcode-staple@v1 uses: devbotsxyz/xcode-staple@v1
with: with: