Yarn fix build #112
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: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build DexieNET and DexieCloudNET | |
run: dotnet build DexieCloudNET/DexieCloudNET.csproj -c Release | |
- name: Pack DexieNET | |
run: dotnet pack DexieNET/DexieNET.csproj -c Release | |
- name: Pack DexieCloudNET | |
run: dotnet pack DexieCloudNET/DexieCloudNET.csproj -c Release | |
- name: UploadNuget | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Nugets | |
path: .nuget/ | |
retention-days: 2 | |
- name: TestSG | |
run: dotnet test DexieNETTest/TableGeneratorTest/DexieNETTest.TableGeneratorTest.csproj -c Release | |
- name: TestDB | |
run: dotnet test DexieNETTest/Tests/DexieNETTest.Tests.csproj -c Release |