File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,11 @@ jobs:
78
78
restore-keys : nugetpackages-${{ runner.os }}
79
79
80
80
- name : Restore project dependencies
81
- run : dotnet restore $SOLUTION_FILE
81
+ run : dotnet restore $SOLUTION_FILE -p:Version=${{ steps.gitversion.outputs.nuGetVersion }}
82
82
83
83
- name : Build all projects in the solution
84
- run : dotnet build $SOLUTION_FILE --configuration $CONFIGURATION --no-restore
85
-
84
+ run : dotnet build $SOLUTION_FILE --configuration $CONFIGURATION -p:Version=${{ steps.gitversion.outputs.nuGetVersion }} - -no-restore
85
+
86
86
# The xUnit test project template already integrates with coverlet.collector by default
87
87
# Don't use the '--logger trx' option as it causes duplicate folders and xml files to be created
88
88
- name : Test all projects in the solution
Original file line number Diff line number Diff line change 23
23
SOURCE : " source"
24
24
SENDER : " ${{ inputs.project-name }}.Sender"
25
25
RECEIVER : " ${{ inputs.project-name }}.Receiver"
26
- NET_VERSION : ' 8.x'
27
26
28
27
outputs :
29
28
artifact : ${{ env.SOURCE }} # -${{ matrix.runs-on }}
33
32
uses : actions/checkout@v4
34
33
35
34
# https://github.com/actions/setup-dotnet
36
- - name : Get .NET ${{ env.NET_VERSION }} externals
35
+ - name : Get .NET externals
37
36
uses : actions/setup-dotnet@v4
38
37
with :
39
38
dotnet-version : |
You can’t perform that action at this time.
0 commit comments