فهرست منبع

Fix Windows GitHub Actions

Jérémie Dumas 3 سال پیش
والد
کامیت
a95612e2c9
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      .github/workflows/continuous.yml

+ 2 - 1
.github/workflows/continuous.yml

@@ -122,7 +122,8 @@ jobs:
 
       - name: Prepare sccache
         run: |
-          Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
+          iwr -useb 'https://raw.githubusercontent.com/scoopinstaller/install/master/install.ps1' -outfile 'install.ps1'
+          .\install.ps1 -RunAsAdmin
           scoop install sccache --global
           # Scoop modifies the PATH so we make it available for the next steps of the job
           echo "${env:PATH}" >> ${env:GITHUB_PATH}