Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 9fd19e3

Browse files
authored
fix release.yaml
1 parent d96b0a9 commit 9fd19e3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install .NET Core
1919
uses: actions/setup-dotnet@v1
2020
with:
21-
dotnet-version: 3.1.100
21+
dotnet-version: 6.0.100-rc.2.21505.57
2222

2323
# Nuget
2424
- uses: nuget/setup-nuget@v1
@@ -28,12 +28,11 @@ jobs:
2828

2929
# Setup MSBuild
3030
- name: Setup MSBuild.exe
31-
uses: microsoft/[email protected]
32-
31+
uses: microsoft/[email protected]
3332

3433
# Build Spcode
3534
- name: Build Spcode
36-
run: msbuild Spcode.csproj /p:Configuration=Release
35+
run: msbuild Spcode.csproj /p:Configuration=Release /p:langversion=latest
3736

3837
# Build Installer
3938
- name: Build Installer (NSIS)
@@ -48,7 +47,7 @@ jobs:
4847

4948
# Build Updater
5049
- name: Build Updater
51-
run: msbuild Deploy\SPCodeUpdater\SPCodeUpdater.csproj /p:Configuration=Release
50+
run: msbuild Deploy\SPCodeUpdater\SPCodeUpdater.csproj /p:Configuration=Release /property:langversion=latest
5251

5352
- name: Create Release
5453
id: create_release

0 commit comments

Comments
 (0)