Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
saltbo committed Mar 22, 2023
2 parents c3736ff + 4ae4e25 commit 20a9408
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ jobs:
- name: Build Wails app
run: |
wails build -platform ${{ matrix.target }}
- name: Import macOS Certificates
if: startsWith(matrix.os, 'macos')
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PWD }}
- name: Signing macOS Application
if: startsWith(matrix.os, 'macos')
run: |
codesign -f -o runtime --timestamp -s Bonaysoft build/bin/Relingo.app
- name: upload artifacts
uses: actions/upload-artifact@v2
with:
Expand All @@ -63,6 +73,7 @@ jobs:
set -e
create-dmg Relingo.app || true
mv *.dmg relingo-desktop-${{ steps.extract_tag.outputs.tag }}-${{ matrix.build_target }}.dmg
codesign -f -o runtime --timestamp -s Bonaysoft relingo-desktop-${{ steps.extract_tag.outputs.tag }}-${{ matrix.build_target }}.dmg
shasum -a 256 relingo-desktop-${{ steps.extract_tag.outputs.tag }}-${{ matrix.build_target }}.dmg > relingo-desktop-${{ steps.extract_tag.outputs.tag }}-${{ matrix.build_target }}.sha256
;;
esac;
Expand Down
15 changes: 15 additions & 0 deletions build/darwin/gon-sign.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"source": ["./build/bin/Relingo.app"],
"bundle_id": "com.wails.Relingo",
"apple_id": {
"username": "yb1225@qq.com",
"password": "@env:APPLE_PASSWORD"
},
"sign": {
"application_identity": "Bonaysoft"
},
"dmg" :{
"output_path": "relingo-desktop.dmg",
"volume_name": "Relingo"
}
}

0 comments on commit 20a9408

Please sign in to comment.