瀏覽代碼

web request

Krzysztof Krysiński 3 月之前
父節點
當前提交
0a5a12eed9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .github/workflows/tests-windows.yml

+ 2 - 1
.github/workflows/tests-windows.yml

@@ -39,7 +39,8 @@ jobs:
       run: dotnet workload install wasi-experimental
 
     - name: Download WASI SDK
-      run: curl -L -o ${{ env.wasiVer }}.tar.gz ${{ env.wasiUrl }}
+      run: |
+        Invoke-WebRequest -Uri "${{ env.wasiUrl }}" -OutFile "${{ env.wasiVer }}.tar.gz"
 
     - name: Unpack WASI SDK
       run: |