Skip to content

OPA v1.0 Updates

OPA v1.0 Updates #181

Workflow file for this run

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