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:
3939 default : |
4040 '**/bin/*'
4141 '**/obj/*'
42- '~ /.nuget/packages'
42+ '** /.nuget/packages'
4343 build-artifacts-name :
4444 description : ' Upload build artifacts, Default: build'
4545 required : false
@@ -54,14 +54,10 @@ runs:
5454 uses : actions/setup-dotnet@v4
5555 with :
5656 dotnet-version : ${{ inputs.dotnet_sdk_version }}
57-
58- - name : ' Restore packages with .NET CLI'
59- shell : bash
60- run : dotnet restore
6157
6258 - name : ' Build with .NET CLI'
6359 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 }}
6561
6662 - name : ' Upload build artifacts'
6763 if : ${{ inputs.upload-build-artifacts == 'true' }}
You can’t perform that action at this time.
0 commit comments