Skip to content

Commit

Permalink
chore: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzgydi authored Sep 28, 2022
1 parent bef4033 commit bac5734
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
profile: minimal
override: true

- name: Rust Cache
uses: Swatinem/rust-cache@v1
with:
working-directory: src-tauri
# - name: Rust Cache
# uses: Swatinem/rust-cache@v1
# with:
# working-directory: src-tauri

- name: Install Node
uses: actions/setup-node@v1
Expand Down Expand Up @@ -80,18 +80,16 @@ jobs:
yarn install --network-timeout 1000000
yarn run check
- name: Tauri build
uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
# - name: Tauri build
# uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}

- name: Tauri build arm64 (windows only)
if: startsWith(github.event.inputs.os, 'windows-')
uses: tauri-apps/tauri-action@0e558392ccadcb49bcc89e7df15a400e8f0c954d
# enable cache even though failed
# continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
Expand Down

0 comments on commit bac5734

Please sign in to comment.