Skip to content
Snippets Groups Projects
Unverified Commit 6b2172d8 authored by GyDi's avatar GyDi
Browse files

fix: ci strategy

parent 1a5d9f7d
No related branches found
No related tags found
No related merge requests found
......@@ -6,14 +6,13 @@ env:
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: short
strategy:
matrix:
platform: [windows-latest, macos-11]
jobs:
# only cargo test now
test:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
os: [windows-latest, macos-11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
......@@ -35,7 +34,10 @@ jobs:
working-directory: ./src-tauri
release:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
os: [windows-latest, macos-11]
runs-on: ${{ matrix.os }}
if: |
startsWith(github.repository, 'zzzgydi') &&
startsWith(github.ref, 'refs/tags/v')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment