mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-10 04:23:39 -04:00
ci(setup-deps/windows): try to fix vcpkg binary cache auth
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
0dbaeef8a6
commit
9210d68ed1
@ -30,6 +30,7 @@ runs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
USERNAME: ${{ github.repository_owner }}
|
USERNAME: ${{ github.repository_owner }}
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
FEED_URL: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
|
FEED_URL: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
|
||||||
run: |
|
run: |
|
||||||
.$(vcpkg fetch nuget) `
|
.$(vcpkg fetch nuget) `
|
||||||
@ -42,7 +43,7 @@ runs:
|
|||||||
.$(vcpkg fetch nuget) `
|
.$(vcpkg fetch nuget) `
|
||||||
setapikey "$env:GITHUB_TOKEN" `
|
setapikey "$env:GITHUB_TOKEN" `
|
||||||
-Source "$env:FEED_URL"
|
-Source "$env:FEED_URL"
|
||||||
Write-Output "VCPKG_BINARY_SOURCES=clear;nuget,$env:FEED_URL,readwrite" >> "$GITHUB_ENV"
|
"VCPKG_BINARY_SOURCES=clear;nuget,$env:FEED_URL,readwrite" | Out-File -Append $env:GITHUB_ENV
|
||||||
|
|
||||||
- name: Setup vcpkg environment (MSVC)
|
- name: Setup vcpkg environment (MSVC)
|
||||||
if: ${{ inputs.msystem == '' }}
|
if: ${{ inputs.msystem == '' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user