Skip to content

chore(deps): update dependency nunitlite to 4.2.2 (#52) #97

chore(deps): update dependency nunitlite to 4.2.2 (#52)

chore(deps): update dependency nunitlite to 4.2.2 (#52) #97

Workflow file for this run

name: .NET
on:
push:
branches: [ "main" ]
tags: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build src -c Release -p:ContinuousIntegrationBuild=true
- name: Test
run: |
.\net40\Iesi.Collections.Test.exe
.\net462\Iesi.Collections.Test.exe
.\net6.0\Iesi.Collections.Test.exe
.\net8.0\Iesi.Collections.Test.exe
working-directory: src\Iesi.Collections.Test\bin\Release
- name: Pack
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
run: dotnet pack src -o out --no-build
- name: Push
run: dotnet nuget push *.nupkg -s nuget.org -k $Env:NUGET_API_KEY
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
working-directory: out
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}