File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ inputs:
39
39
default : |
40
40
'**/bin/*'
41
41
'**/obj/*'
42
- '~ /.nuget/packages'
42
+ '** /.nuget/packages'
43
43
build-artifacts-name :
44
44
description : ' Upload build artifacts, Default: build'
45
45
required : false
@@ -54,14 +54,10 @@ runs:
54
54
uses : actions/setup-dotnet@v4
55
55
with :
56
56
dotnet-version : ${{ inputs.dotnet_sdk_version }}
57
-
58
- - name : ' Restore packages with .NET CLI'
59
- shell : bash
60
- run : dotnet restore
61
57
62
58
- name : ' Build with .NET CLI'
63
59
shell : bash
64
- run : dotnet build ${{ inputs.search-pattern }} --no-restore -- configuration ${{ inputs.build-configuration }} /p:Platform="${{ inputs.build-platform }}" /p:Version=${{ inputs.assembly-version }} /p:AssemblyInformationalVersion=${{ inputs.assembly--informational-version }} /p:FileVersion=${{ inputs.assembly-file-version }}
60
+ run : dotnet build ${{ inputs.search-pattern }} --configuration ${{ inputs.build-configuration }} /p:Platform="${{ inputs.build-platform }}" /p:Version=${{ inputs.assembly-version }} /p:AssemblyInformationalVersion=${{ inputs.assembly--informational-version }} /p:FileVersion=${{ inputs.assembly-file-version }}
65
61
66
62
- name : ' Upload build artifacts'
67
63
if : ${{ inputs.upload-build-artifacts == 'true' }}
You can’t perform that action at this time.
0 commit comments