Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
temporary attempt to workaround scoop bug
authoradegomme <13270544+adegomme@users.noreply.github.com>
Thu, 11 Mar 2021 12:56:58 +0000 (13:56 +0100)
committerGitHub <noreply@github.com>
Thu, 11 Mar 2021 12:56:58 +0000 (13:56 +0100)
https://github.com/ScoopInstall er/Main/issues/1752

.github/workflows/jarfile.yml

index 0586c7d..85d69e5 100644 (file)
@@ -28,6 +28,7 @@ jobs:
       if: matrix.config.os == 'windows'
       run: |
         Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
+        (Get-Content ~\scoop\buckets\main\bucket\gcc.json).replace('http://repo.msys2.org/', 'http://mirrors.huaweicloud.com/msys2/') | Set-Content  ~\scoop\buckets\main\bucket\gcc.json
         scoop install gcc --global
         echo "BOOST_ROOT=${env:BOOST_ROOT_1_72_0}" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
         echo "BOOST_INCLUDEDIR=${env:BOOST_ROOT_1_72_0}\boost\include" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append