Skip to content

Yet another fix for Github Actions #76

Yet another fix for Github Actions

Yet another fix for Github Actions #76

Workflow file for this run

name: .NET Build, Test
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
job1:
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
- 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: Test
run: dotnet test -c Release