Skip to content

Commit

Permalink
Add workaround for nsm.us downtime
Browse files Browse the repository at this point in the history
Cache vcpkg packages
  • Loading branch information
unknownskl committed Jul 18, 2023
1 parent 4b7c6af commit b69f352
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ jobs:
- run: rustup target add aarch64-apple-darwin
if: matrix.os == 'macos-latest'

- run: wget https://fossies.org/windows/misc/nasm-2.16.01-win64.zip -o C:\Users\runneradmin\AppData\Local\vcpkg\archives\
if: runner.os == 'Windows'
- name: Set up vcpkg cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
C:\Users\runneradmin\AppData\Local\vcpkg\archives\
key: ${{ runner.os }}-${{ runner.arch }}-vcpkg
restore-keys: ${{ runner.os }}-${{ runner.arch }}-vcpkg-
if: runner.os == 'Windows'
- run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
if: runner.os == 'Windows'
- run: vcpkg install openssl:x64-windows-static-md
Expand Down

0 comments on commit b69f352

Please sign in to comment.