Merge pull request #57 from christophwille/fix/56 #187
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: ci | |
on: | |
push: | |
paths-ignore: | |
- 'readme.md' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore src | |
- name: Build | |
run: dotnet build src --no-restore | |
- name: Test | |
run: dotnet test src --no-build --verbosity normal | |
- name: Create NuGet package | |
run: dotnet pack src/Opa.Wasm/Opa.Wasm.csproj -c Release | |
- name: Upload NuGet package artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Opa.Wasm NuGet package | |
path: src/Opa.Wasm/bin/Release/*.nupkg |