@@ -40,44 +40,51 @@ jobs:
40
40
steps :
41
41
- name : Checkout repository
42
42
uses : actions/checkout@v2
43
+
44
+ - name : " Set .NET target"
45
+ uses : UseDotNet@2
46
+ with :
47
+ packageType : ' sdk'
48
+ version : ' 6.0.x'
49
+ includePreviewVersions : True
43
50
44
51
# Initializes the CodeQL tools for scanning.
45
- - name : Initialize CodeQL
52
+ - name : " Initialize CodeQL"
46
53
uses : github/codeql-action/init@v1
47
54
with :
48
55
languages : ${{ matrix.language }}
49
56
# If you wish to specify custom queries, you can do so here or in a config file.
50
57
# By default, queries listed here will override any specified in a config file.
51
58
# Prefix the list here with "+" to use these queries and those in the config file.
52
59
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53
- - name : Setup NuGet
60
+ - name : " Setup NuGet"
54
61
uses : nuget/setup-nuget@v1
55
62
with :
56
63
nuget-version : ' 5.x'
57
64
dotnet-version : ' 6.0'
58
65
include-prerelease : True
59
66
60
- - name : Setup MSBuild
67
+ - name : " Setup MSBuild"
61
68
uses : microsoft/setup-msbuild@v1
62
69
63
- - name : NuGet Caching
70
+ - name : " NuGet Caching"
64
71
uses : actions/cache@v2
65
72
with :
66
73
path : ~/.nuget/packages
67
74
key : ${{ runner.os }}-nuget-${{ hashFiles('**/ClipboardCanvas/Package.appxmanifest') }}
68
75
restore-keys : |
69
76
${{ runner.os }}-nuget-
70
77
71
- - name : Restore NuGet for Solution
78
+ - name : " Restore NuGet for Solution"
72
79
run : nuget restore -LockedMode ClipboardCanvas.sln
73
80
74
- - name : Perform Project Build
81
+ - name : " Perform Project Build"
75
82
run : |
76
83
msbuild ClipboardCanvas.sln -nologo -nr:false -m -t:build -t:_GenerateAppxPackage -p:Configuration=Release -p:Platform=x64 -p:AppxBundle=Always -p:AppxBundlePlatforms=x64
77
84
78
85
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
79
86
# If this step fails, then you should remove it and run the build manually (see below)
80
- - name : Autobuild
87
+ - name : " Autobuild"
81
88
uses : github/codeql-action/autobuild@v1
82
89
83
90
# ℹ️ Command-line programs to run using the OS shell.
91
98
# make bootstrap
92
99
# make release
93
100
94
- - name : Perform CodeQL Analysis
101
+ - name : " Perform CodeQL Analysis"
95
102
uses : github/codeql-action/analyze@v1
0 commit comments