File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 54
54
with :
55
55
dotnet-version : ${{ inputs.dotnet_sdk_version }}
56
56
57
- - name : Cache NuGet packages
58
- id : cache-nuget
59
- uses : actions/cache@v3.3.2
60
- with :
61
- path : |
62
- ~/.nuget/packages
63
- key : ${{ runner.os }}-nuget-cache-${{ hashFiles('inputs.search-pattern') }}
64
- restore-keys : |
65
- ${{ runner.os }}-nuget-cache-${{ hashFiles('inputs.search-pattern') }}
66
-
67
57
- name : ' Restore packages with .NET CLI'
68
58
shell : bash
69
59
run : dotnet restore
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ jobs:
143
143
with :
144
144
name : build
145
145
- name : Pack with .NET
146
- run : dotnet pack ${{ vars.SRC_DEFAULT_GLOB_PATTERN }} --no-build --no-restore -- configuration ${{ env.build-configuration }} /p:Platform="${{ env.build-platform }}" /p:PackageVersion=${{ env.PACKAGE_VERSION }} /p:Version=${{ env.ASSEMBLY_VERSION }} /p:AssemblyInformationalVersion=${{ env.ASSEMBLY_INFORMATIONAL_VERSION }} /p:FileVersion=${{ env.FILE_VERSION }} --output ${{ runner.temp }}/packages/
146
+ run : dotnet pack ${{ vars.SRC_DEFAULT_GLOB_PATTERN }} --no-build --configuration ${{ env.build-configuration }} /p:Platform="${{ env.build-platform }}" /p:PackageVersion=${{ env.PACKAGE_VERSION }} /p:Version=${{ env.ASSEMBLY_VERSION }} /p:AssemblyInformationalVersion=${{ env.ASSEMBLY_INFORMATIONAL_VERSION }} /p:FileVersion=${{ env.FILE_VERSION }} --output ${{ runner.temp }}/packages/
147
147
- name : Upload Package
148
148
uses : actions/upload-artifact@v4
149
149
with :
You can’t perform that action at this time.
0 commit comments