Skip to content

Commit

Permalink
more caching
Browse files Browse the repository at this point in the history
  • Loading branch information
clipperhouse committed Jul 19, 2024
1 parent 1524b36 commit a75d145
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
build:
runs-on: ubuntu-latest

env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -24,7 +26,7 @@ jobs:
cache-dependency-path: '**/packages.lock.json'

- name: Install dependencies
run: dotnet restore
run: dotnet restore --locked-mode

- name: Build the project
run: dotnet build --no-restore
Expand Down

0 comments on commit a75d145

Please sign in to comment.