Skip to content

Commit

Permalink
Yet another fix for Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
b-straub committed Apr 27, 2024
1 parent b329627 commit e1ffc63
Showing 1 changed file with 30 additions and 22 deletions.
52 changes: 30 additions & 22 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,53 @@ on:

jobs:
job1:
name: Setup
name: BuildDexieNET
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
- uses: actions/checkout@v4

job2:
name: BuildDexieNET
runs-on: ubuntu-latest
needs: job1
- 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.

steps:
- name: BuildDexieNET
run: dotnet build DexieNET/DexieNET.csproj -c Release

job3:
job2:
name: BuildDexieCloudNET
runs-on: ubuntu-latest
needs: [job1, job2]
needs: [job1]

steps:
- uses: actions/checkout@v4

- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.

- name: BuildDexieCloudNET
run: dotnet build DexieCloudNET/DexieCloudNET.csproj -c Release

job4:
name: BuildDexieNET
job3:
name: TestDexieNET
runs-on: ubuntu-latest
needs: [job1, job2, job3]
needs: [job1, job2]

steps:
- uses: actions/checkout@v4

- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.

- name: Test
run: dotnet test -c Release

0 comments on commit e1ffc63

Please sign in to comment.