Yet another fix for Github Actions #74
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Build, Test | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
job1: | |
name: Setup | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 7.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
job2: | |
name: BuildDexieNET | |
runs-on: ubuntu-latest | |
needs: job1 | |
steps: | |
- name: BuildDexieNET | |
run: dotnet build DexieNET/DexieNET.csproj -c Release | |
job3: | |
name: BuildDexieCloudNET | |
runs-on: ubuntu-latest | |
needs: [job1, job2] | |
steps: | |
- name: BuildDexieCloudNET | |
run: dotnet build DexieCloudNET/DexieCloudNET.csproj -c Release | |
job4: | |
name: BuildDexieNET | |
runs-on: ubuntu-latest | |
needs: [job1, job2, job3] | |
steps: | |
- name: Test | |
run: dotnet test -c Release |