Skip to content

Commit

Permalink
#8 Enable repeatable package restores using a lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergHoffmannatGitHub committed Jan 28, 2024
1 parent 0d68ed7 commit dbbb093
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,7 @@ jobs:

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
# run: dotnet restore $env:Solution_Name --locked-mode
uses: actions/cache@v4
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/project.assets.json') }}
restore-keys: |
${{ runner.os }}-nuget
run: dotnet restore $env:Solution_Name --locked-mode

# Build the application
- name: Build the application
Expand Down

0 comments on commit dbbb093

Please sign in to comment.