Skip to content

Commit 33c8eb4

Browse files
chore: remove caching ci
1 parent 0ad5d25 commit 33c8eb4

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/github-cicd.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- main
1010

1111
env:
12-
DOTNET_INSTALL_DIR: "./.dotnet"
1312
DOCKER_BUILDKIT: "1"
1413

1514
jobs:
@@ -31,17 +30,8 @@ jobs:
3130
uses: actions/setup-dotnet@v4
3231
with:
3332
dotnet-version: "8.0.412"
34-
- name: Cache NuGet packages
35-
id: cache-nuget
36-
uses: actions/cache@v4
37-
with:
38-
path: ~/.nuget/packages
39-
key: ${{ runner.os }}-nuget-${{ hashFiles('src/**/packages.lock.json') }}-${{ hashFiles('tests/**/packages.lock.json') }}
40-
restore-keys: |
41-
${{ runner.os }}-nuget-
4233
- name: Install dependencies
43-
if: steps.cache-nuget.outputs.cache-hit != 'true'
44-
run: dotnet restore --configfile nuget.config
34+
run: dotnet restore --verbosity detailed
4535
- name: Build
4636
run: dotnet build --configuration Release --no-restore
4737
- name: Test
@@ -54,6 +44,7 @@ jobs:
5444
name: app-build
5545
path: |
5646
${{ github.workspace }}/app/publish
47+
retention-days: 3
5748
docker:
5849
name: 🐳 Build & Push Docker Image
5950
needs: build

0 commit comments

Comments
 (0)