Skip to content

- Mask should be based on the network and not the address #39

- Mask should be based on the network and not the address

- Mask should be based on the network and not the address #39

Workflow file for this run

name: Build and Pack
on:
push:
branches: [ main ]
pull_request:
types: [closed]
branches: [ main ]
jobs:
build-and-pack:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
# - name: Test
# run: dotnet test --framework net9.0 --no-restore --verbosity normal
- name: Pack NuGet and SnugPack
run: dotnet pack --configuration Release --no-build --output ./artifacts /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg
- name: Upload NuGet packages
uses: actions/upload-artifact@v4
with:
name: nuget-packages
path: ./artifacts/*.nupkg
- name: Upload SnugPack symbol packages
uses: actions/upload-artifact@v4
with:
name: snupkg-symbols
path: ./artifacts/*.snupkg