Skip to content

Bump xunit from 2.4.2 to 2.6.4 #613

Bump xunit from 2.4.2 to 2.6.4

Bump xunit from 2.4.2 to 2.6.4 #613

Workflow file for this run

name: .NET
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 6
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install dependencies
run: dotnet restore -s https://api.nuget.org/v3/index.json
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- uses: kzrnm/get-net-sdk-project-versions-action@v1
id: get-version
with:
proj-path: Directory.Build.props
- name: Pack
run: dotnet pack -c Release -p:PackageVersion=${{steps.get-version.outputs.package-version}}-ci.${{ github.run_number }} --no-build --no-restore
- run: cd ../
- name: publish github
run: dotnet nuget push **\*.nupkg --skip-duplicate -k ${{secrets.GITHUB_TOKEN}} -s https://nuget.pkg.github.com/JensKrumsieck/index.json
if: ${{ github.event_name == 'push' && github.repository_owner == 'JensKrumsieck' }}