Skip to content

Commit

Permalink
apacheGH-36861: [CI] Temporary cache nasm from GitHub to fix VCPKG job
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Jul 25, 2023
1 parent 20bbe3e commit 8eeb424
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev/tasks/vcpkg-tests/github.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ jobs:
`vcpkg fetch nuget | tail -n 1` \
setapikey "$GITHUB_TOKEN" \
-source "https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json"
- name: Cache nasm
- run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
- run: New-Item -ItemType "directory" -Path "C:\vcpkg\downloads" -Force
- run: Invoke-WebRequest -URI "$env:BASE_URL/$env:FILE_NAME" -OutFile "C:\vcpkg\downloads\$env:FILE_NAME"
env:
BASE_URL: https://github.com/microsoft/vcpkg/files/12073957
FILE_NAME: nasm-2.16.01-win64.zip
- name: Install Dependencies with vcpkg and Build Arrow C++
shell: cmd
run: |
Expand Down

0 comments on commit 8eeb424

Please sign in to comment.