Update build.yml

This commit is contained in:
Jaex 2023-05-13 20:09:06 +03:00
parent 7744feb68e
commit b6eb157ab1

View file

@ -68,6 +68,7 @@ jobs:
Invoke-WebRequest -Uri "$env:API_KEYS" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs" Invoke-WebRequest -Uri "$env:API_KEYS" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
- name: Cache NuGet packages - name: Cache NuGet packages
id: cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: ~/.nuget/packages path: ~/.nuget/packages
@ -76,6 +77,7 @@ jobs:
${{ runner.os }}-nuget- ${{ runner.os }}-nuget-
- name: Restore NuGet packages - name: Restore NuGet packages
if: steps.cache.outputs.cache-hit != 'true'
working-directory: ${{ env.GITHUB_WORKSPACE }} working-directory: ${{ env.GITHUB_WORKSPACE }}
run: nuget restore "${{ env.SOLUTION_FILE_PATH }}" -Project2ProjectTimeOut 300 -Verbosity detailed run: nuget restore "${{ env.SOLUTION_FILE_PATH }}" -Project2ProjectTimeOut 300 -Verbosity detailed