Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
temporary attempt to workaround scoop bug
[simgrid.git] / .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