Skip to content

Commit

Permalink
Update default.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi authored Jan 3, 2024
1 parent 2c606d8 commit c0c9599
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,25 @@ on:
- "dev"

jobs:
mac-build:
runs-on: macos-latest
build:
name: Running tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: build
run: bash build.sh

linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
6.x
7.x
8.x
- name: dotnet info
run: dotnet --info
- name: build
run: bash build.sh
run: bash build.sh --target=test

windows-build:
runs-on: windows-latest
Expand Down

0 comments on commit c0c9599

Please sign in to comment.