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 6f534aa commit adc258f
Showing 1 changed file with 7 additions and 43 deletions.
50 changes: 7 additions & 43 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,57 +9,21 @@ on:
- "**"

jobs:
job1:
name: BuildDexieNET

build:

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

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

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

steps:
- uses: actions/checkout@v4

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

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

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

steps:
- uses: actions/checkout@v4

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

- name: TestSG
run: dotnet test DexieNETTest/TableGeneratorTest/DexieNETTest.TableGeneratorTest.csproj -c Release
- name: Run build
run: dotnet build -c Release

- name: TestDB
run: dotnet test DexieNETTest/Tests/DexieNETTest.Tests.csproj -c Release
- name: Run tests
run: dotnet test --configuration Release --verbosity normal

0 comments on commit adc258f

Please sign in to comment.