Skip to content

Commit 30920a8

Browse files
author
Petr Sramek
committed
removec cache, removed no restore
1 parent 1864d28 commit 30920a8

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/actions/build/action.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,6 @@ runs:
5454
with:
5555
dotnet-version: ${{ inputs.dotnet_sdk_version }}
5656

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-
6757
- name: 'Restore packages with .NET CLI'
6858
shell: bash
6959
run: dotnet restore

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
with:
144144
name: build
145145
- 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/
147147
- name: Upload Package
148148
uses: actions/upload-artifact@v4
149149
with:

0 commit comments

Comments
 (0)