File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - main
1010
1111env :
12- DOTNET_INSTALL_DIR : " ./.dotnet"
1312 DOCKER_BUILDKIT : " 1"
1413
1514jobs :
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
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
You can’t perform that action at this time.
0 commit comments