mirror of
https://github.com/ivabus/gui
synced 2025-06-07 15:50:27 +03:00
rm codesigning
This commit is contained in:
parent
3d750c0ded
commit
2058922554
1 changed files with 17 additions and 17 deletions
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
|
@ -183,28 +183,28 @@ jobs:
|
|||
echo "build_platform=$BUILD_PLATFORM" >> $GITHUB_OUTPUT
|
||||
echo "extension=$EXTENSION" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: apple-actions/import-codesign-certs@d54750db52a4d3eaed0fc107a8bab3958f3f7494
|
||||
if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64'
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }}
|
||||
p12-password: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}
|
||||
# - uses: apple-actions/import-codesign-certs@d54750db52a4d3eaed0fc107a8bab3958f3f7494
|
||||
# if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64'
|
||||
# with:
|
||||
# p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }}
|
||||
# p12-password: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}
|
||||
|
||||
- name: test build tauri
|
||||
run: pnpm build:gui
|
||||
|
||||
- name: Codesign package
|
||||
if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64'
|
||||
env:
|
||||
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
|
||||
run: |
|
||||
codesign -s "Developer ID Application: Tea Inc. (7WV56FL599)" -v --force --deep --timestamp --preserve-metadata=entitlements -o runtime ./modules/gui/src-tauri/target/release/bundle/macos/tea.app || true
|
||||
codesign -s "Developer ID Application: Tea Inc. (7WV56FL599)" -v --force --deep --timestamp --preserve-metadata=entitlements -o runtime ./modules/gui/src-tauri/target/release/bundle/dmg/tea_0.1.0_aarch64.dmg || true
|
||||
# - name: Codesign package
|
||||
# if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64'
|
||||
# env:
|
||||
# APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
|
||||
# run: |
|
||||
# codesign -s "Developer ID Application: Tea Inc. (7WV56FL599)" -v --force --deep --timestamp --preserve-metadata=entitlements -o runtime ./modules/gui/src-tauri/target/release/bundle/macos/tea.app || true
|
||||
# codesign -s "Developer ID Application: Tea Inc. (7WV56FL599)" -v --force --deep --timestamp --preserve-metadata=entitlements -o runtime ./modules/gui/src-tauri/target/release/bundle/dmg/tea_0.1.0_aarch64.dmg || true
|
||||
|
||||
- name: clean package for preview
|
||||
if: matrix.platform.name == 'darwin+aarch64'
|
||||
run: |
|
||||
xattr -d com.apple.quarantine ./modules/gui/src-tauri/target/release/bundle/dmg/tea_0.1.0_aarch64.dmg
|
||||
xattr -d com.apple.quarantine ./modules/gui/src-tauri/target/release/bundle/macos/tea.app
|
||||
# - name: clean package for preview
|
||||
# if: matrix.platform.name == 'darwin+aarch64'
|
||||
# run: |
|
||||
# xattr -d com.apple.quarantine ./modules/gui/src-tauri/target/release/bundle/dmg/tea_0.1.0_aarch64.dmg
|
||||
# xattr -d com.apple.quarantine ./modules/gui/src-tauri/target/release/bundle/macos/tea.app
|
||||
|
||||
- name: zip app
|
||||
if: matrix.platform.name == 'darwin+aarch64'
|
||||
|
|
Loading…
Reference in a new issue