Skip to content

Added Framework 4.8 to all projects #8

Added Framework 4.8 to all projects

Added Framework 4.8 to all projects #8

Workflow file for this run

name: build-test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: '0'
# - name: Set environment variables
# run: |
# echo GITVERSION_BUILD_NUMBER=${{ github.run_number }} >> $GITHUB_ENV
# echo GitVersion_NoNormalizeEnabled=true >> $GITHUB_ENV
# echo IGNORE_NORMALISATION_GIT_HEAD_MOVE=1 >> $GITHUB_ENV
- name: Build project
run: dotnet build --configuration Release
- name: Test project (Framework 4.6.1)
run: dotnet test output/Release/net461/*Tests.dll --filter "TestCategory != SkipOnTeamCity"
# - name: Test project (others)
# run: dotnet test --filter "TestCategory != SkipOnTeamCity"
# - name: Publish artifact
# uses: actions/upload-artifact@v3
# with:
# name: nuget
# path: output/*.nupkg