From db1c666da549a2920b1c11389f67ed66beab5b7a Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 7 Nov 2024 05:57:41 +0900 Subject: [PATCH] Debug --- ci/scripts/install_vcpkg.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ci/scripts/install_vcpkg.sh b/ci/scripts/install_vcpkg.sh index 33fd004039203..4c8be5def9fcd 100755 --- a/ci/scripts/install_vcpkg.sh +++ b/ci/scripts/install_vcpkg.sh @@ -58,23 +58,19 @@ if [ -n "${GITHUB_TOKEN:-}" ] && [ -n "${GITHUB_REPOSITORY_OWNER:-}" ]; then dnf install -y epel-release dnf install -y mono-complete wget --no-verbose https://dist.nuget.org/win-x86-commandline/v6.10.0/nuget.exe - mv nuget.exe /usr/libexec/ - cat < /usr/bin/nuget -#!/bin/sh - -exec mono /usr/libexec/nuget.exe "\$@" -NUGET + mv nuget.exe /usr/bin/nuget chmod +x /usr/bin/nuget fi + vcpkg fetch nuget || : nuget_url="https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json" - nuget \ + mono /usr/bin/nuget \ sources add \ -source "${nuget_url}" \ -storepasswordincleartext \ -name "GitHub" \ -username "${GITHUB_REPOSITORY_OWNER}" \ -password "${GITHUB_TOKEN}" - nuget \ + mono /usr/bin/nuget \ setapikey "${GITHUB_TOKEN}" \ -source "${nuget_url}" fi