mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
fix: ci strategy
This commit is contained in:
parent
1a5d9f7dad
commit
6b2172d873
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -6,14 +6,13 @@ env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
RUST_BACKTRACE: short
|
RUST_BACKTRACE: short
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platform: [windows-latest, macos-11]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# only cargo test now
|
# only cargo test now
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.platform }}
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [windows-latest, macos-11]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -35,7 +34,10 @@ jobs:
|
||||||
working-directory: ./src-tauri
|
working-directory: ./src-tauri
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ${{ matrix.platform }}
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [windows-latest, macos-11]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
if: |
|
if: |
|
||||||
startsWith(github.repository, 'zzzgydi') &&
|
startsWith(github.repository, 'zzzgydi') &&
|
||||||
startsWith(github.ref, 'refs/tags/v')
|
startsWith(github.ref, 'refs/tags/v')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user