* Added net8.0 to the dotnet-version array used by actions * Changed framework version in Directory.Build.props * Removed unsed nuget * Update codeql-analysis.yml * Added net8.0 target framework * Updated code analyzer version to match net8.0 * Added net8.0 to tests * Updated sdk version * Updated version.json * Fixed build for non windows machines * Updated references in Directory.Build.targets * Added conditional exception handling to WatchServerDisconnect test case * Added missing project to solution
41 lines
786 B
YAML
41 lines
786 B
YAML
name: Draft Release
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
draft:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup dotnet
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: |
|
|
6.0.x
|
|
7.0.x
|
|
8.0.x
|
|
|
|
- name: dotnet restore
|
|
run: dotnet restore --verbosity minimal --configfile nuget.config
|
|
|
|
- name: dotnet test
|
|
run: dotnet test
|
|
|
|
- uses: dotnet/nbgv@master
|
|
with:
|
|
setAllVars: true
|
|
|
|
- name: create release
|
|
shell: pwsh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
gh release create -d --generate-notes v$env:NBGV_NuGetPackageVersion
|