diff --git a/.github/actions/dotnet/build/action.yml b/.github/actions/dotnet/build/action.yml index 0fbb251..851c42a 100644 --- a/.github/actions/dotnet/build/action.yml +++ b/.github/actions/dotnet/build/action.yml @@ -27,7 +27,8 @@ runs: uses: actions/cache@v3 with: path: ~/.nuget/packages${{ inputs.CACHE_SUFFIX }} - key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} + # key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} + key: ${{ runner.os }}-nuget-${{ github.run_id }}-${{ github.run_attempt }} # Temporary fix: ${{ hashFiles(format('{0}/**/packages.lock.json', inputs.WORKING_DIRECTORY)) }} restore-keys: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} - name: Restore dependencies