forked from shoaky009/Playnite.Extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
30 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 |
---|---|---|
@@ -1,35 +1,36 @@ | ||
name: .NET CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master ] | ||
branches: [master, dev] | ||
pull_request: | ||
branches: [ master ] | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
env: | ||
SOLUTION: src/Playnite.Extensions.sln | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# required for LangVersion 10 | ||
- name: Setup .NET 6.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.0.x | ||
- name: Clear local NuGet cache (workaround for failed restores on windows-latest) | ||
run: dotnet clean $env:SOLUTION && dotnet nuget locals all --clear | ||
- name: Restore dependencies | ||
run: dotnet restore $env:SOLUTION | ||
- name: Build | ||
run: dotnet build $env:SOLUTION --no-restore | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# required for LangVersion 10 | ||
- name: Setup .NET 6.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Clear local NuGet cache (workaround for failed restores on windows-latest) | ||
run: dotnet clean $env:SOLUTION && dotnet nuget locals all --clear | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore $env:SOLUTION | ||
|
||
- name: Build | ||
run: dotnet build $env:SOLUTION --no-restore |
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
|
||
# Mono auto generated files | ||
mono_crash.* | ||
.mono/ | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
|
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