You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "raulcd (via GitHub)" <gi...@apache.org> on 2023/07/25 12:26:11 UTC
[GitHub] [arrow] raulcd commented on a diff in pull request #36862: GH-36861: [CI] Temporary cache nasm from GitHub to fix VCPKG job
raulcd commented on code in PR #36862:
URL: https://github.com/apache/arrow/pull/36862#discussion_r1273453858
##########
dev/tasks/vcpkg-tests/github.windows.yml:
##########
@@ -73,6 +73,14 @@ 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
+ New-Item -ItemType "directory" -Path "C:\vcpkg\downloads" -Force
+ 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
Review Comment:
@assignUser any idea how I could cache this for vcpkg?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org