Skip to content

Commit

Permalink
cache paths
Browse files Browse the repository at this point in the history
  • Loading branch information
martinothamar committed Apr 3, 2024
1 parent 728a70d commit 5e9081b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- uses: actions/cache@v3
with:
path: ${{ github.workspace }}\.nuget\packages
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/Directory.*.props', 'NuGet.config') }}
restore-keys: |
${{ runner.os }}-nuget-
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

- uses: actions/cache@v3
with:
path: ${{ github.workspace }}\.nuget\packages
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/Directory.*.props', 'NuGet.config') }}
restore-keys: |
${{ runner.os }}-nuget-
Expand All @@ -97,4 +97,4 @@ jobs:
- name: Push to NuGet
if: ${{ success() && github.event_name != 'pull_request' }}
run: dotnet nuget push artifacts/**.nupkg -s https://api.nuget.org/v3/index.json # --api-key ${{secrets.NUGET_API_KEY}}
run: dotnet nuget push artifacts/**.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}

0 comments on commit 5e9081b

Please sign in to comment.