File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1111 branches : ["main"]
1212 pull_request :
1313 branches : ["main"]
14+ workflow_dispatch :
1415
1516jobs :
1617 build :
1718 runs-on : windows-latest
19+ env :
20+ HUSKY : 0 # don't run husky.net hooks
1821
1922 steps :
2023 - name : Checkout code
@@ -28,11 +31,13 @@ jobs:
2831 8.0.x
2932 9.0.x
3033
31- - name : Restore dotnet tools
34+ - name : Restore .NET tools
3235 run : dotnet tool restore
36+ working-directory : .
3337
3438 - name : Restore dependencies
35- run : dotnet restore ./src
39+ run : dotnet restore
40+ working-directory : ./src
3641
3742 - name : Build
3843 run : dotnet build ./src --no-restore -p:VersionFromCI="0.0.0-cibuild"
Original file line number Diff line number Diff line change 1616jobs :
1717 build :
1818 runs-on : ubuntu-latest
19+ env :
20+ HUSKY : 0 # don't run husky.net hooks
1921
2022 steps :
2123 - name : Checkout code
@@ -30,11 +32,13 @@ jobs:
3032 id : extract_version
3133 run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
3234
33- - name : Restore dotnet tools
35+ - name : Restore .NET tools
3436 run : dotnet tool restore
37+ working-directory : .
3538
3639 - name : Restore dependencies
37- run : dotnet restore ./src
40+ run : dotnet restore
41+ working-directory : ./src
3842
3943 - name : Build
4044 run : dotnet build ./src --no-restore --configuration Release /p:VersionFromCI=${{ env.VERSION }}
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 9.0.101 " ,
3+ "version" : " 9.0.304 " ,
44 "rollForward" : " latestFeature"
55 }
66}
You can’t perform that action at this time.
0 commit comments