mirror of
https://github.com/ivabus/gui
synced 2025-06-07 15:50:27 +03:00
#114 enable codesign in CI
This commit is contained in:
parent
5ad754596c
commit
958a498e4f
1 changed files with 8 additions and 8 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
@ -131,12 +131,8 @@ jobs:
|
|||
container: ${{ matrix.platform.container }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 7
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
cache: 'pnpm'
|
||||
|
@ -145,11 +141,17 @@ jobs:
|
|||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 7.18.2
|
||||
run_install: true
|
||||
|
||||
- name: install dependencies (ubuntu only)
|
||||
if: matrix.platform.name == 'linux+x86-64'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
# The prefix cache key, this can be changed to start a new cache manually.
|
||||
|
@ -157,8 +159,6 @@ jobs:
|
|||
prefix-key: ${{ matrix.platform.name }}
|
||||
shared-key: ci
|
||||
cache-targets: false
|
||||
- name: install app dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Cache Tauri Target
|
||||
uses: actions/cache@v3
|
||||
|
@ -189,7 +189,7 @@ jobs:
|
|||
p12-password: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}
|
||||
|
||||
- name: test build tauri
|
||||
run: pnpm --filter gui tauri build
|
||||
run: pnpm build:gui
|
||||
|
||||
- name: Codesign package
|
||||
if: matrix.platform.name == 'darwin+x86-64' || matrix.platform.name == 'darwin+aarch64'
|
||||
|
|
Loading…
Reference in a new issue