From e1ffc63959f7e40bbe77da6323ea4c8c8c5a8e51 Mon Sep 17 00:00:00 2001 From: Bernhard Straub Date: Sat, 27 Apr 2024 09:17:35 +0200 Subject: [PATCH] Yet another fix for Github Actions --- .github/workflows/Build.yml | 52 +++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 36f0234..8a28976 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -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