-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to enable building Net8.0 projects
- Loading branch information
1 parent
7aa9c9e
commit 2ecdb7d
Showing
7 changed files
with
49 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,26 @@ jobs: | |
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Setup dotnet | ||
- name: 'Setup dotnet 6 / 7 / 8' | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Install DotNet workloads | ||
- name: 'Setup Java JDK 11' | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'microsoft' | ||
java-version: '11' | ||
|
||
- name: 'Add MSBuild to PATH' | ||
uses: microsoft/[email protected] | ||
with: | ||
vs-prerelease: true | ||
|
||
- name: 'Install DotNet workloads' | ||
shell: bash | ||
run: | | ||
dotnet workload install android ios tvos macos maui maccatalyst | ||
|
@@ -38,11 +50,11 @@ jobs: | |
- name: 'Restore and Compile ReactiveUI Projects' | ||
run: ./build.cmd Compile | ||
|
||
- name: Build Website | ||
- name: 'Build Website' | ||
run: ./build.cmd BuildWebsite | ||
|
||
- name: Deploy netlify | ||
if: ${{ github.event_name != 'pull_request' }} | ||
- name: 'Deploy netlify' | ||
if: ${{ github.event_name != 'pull_request' }} | ||
run: | | ||
npm install -g netlify-cli | ||
netlify deploy --auth=${{ secrets.NETLIFY_DEPLOY_KEY }} --site=${{ secrets.NETLIFY_SITE_ID }} --prod --dir=reactiveui/_site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
using System; | ||
using System.ComponentModel; | ||
using System.Linq; | ||
using Nuke.Common.Tooling; | ||
|
||
[TypeConverter(typeof(TypeConverter<Configuration>))] | ||
public class Configuration : Enumeration | ||
{ | ||
public static Configuration Debug = new Configuration { Value = nameof(Debug) }; | ||
public static Configuration Release = new Configuration { Value = nameof(Release) }; | ||
public static Configuration Debug = new() { Value = nameof(Debug) }; | ||
public static Configuration Release = new() { Value = nameof(Release) }; | ||
|
||
public static implicit operator string(Configuration configuration) | ||
{ | ||
return configuration.Value; | ||
} | ||
public static implicit operator string(Configuration configuration) => configuration.Value; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "7.0.400", | ||
"version": "8.0.10", | ||
"rollForward": "latestMinor" | ||
}, | ||
"msbuild-sdks": { | ||
|