File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,11 @@ jobs:
7474 # for the first successful run that produced the desired artifact.
7575 $build_name="llvm_build_win_${{ matrix.arch }}_clangcl_${{ matrix.llvm_branch }}"
7676 Invoke-WebRequest -Uri https://api.github.com/repos/flang-compiler/classic-flang-llvm-project/actions/workflows/pre-compile_llvm.yml/runs -OutFile llvm_runs.json
77- $urls = @($(jq -r --arg b ${{ matrix.llvm_branch }} '.workflow_runs[] | select(.head_branch == $b) | select (.conclusion == "" success" ") | .artifacts_url?' llvm_runs.json))
77+ $urls = @($(jq -r --arg b ${{ matrix.llvm_branch }} '.workflow_runs[] | select(.head_branch == $b) | select (.conclusion == "success") | .artifacts_url?' llvm_runs.json))
7878 Invoke-WebRequest "$(jq -r '.workflow_runs[0].artifacts_url?' llvm_runs.json)" -OutFile llvm_artifacts.json
7979 for ($i = 0; $i -lt $urls.Count; $i++) {
8080 $artifacts_url = $urls[$i]
81- Invoke-WebRequest -Uri "$artifacts_url" -o llvm_artifacts.json
81+ Invoke-WebRequest -Uri "$artifacts_url" -OutFile llvm_artifacts.json
8282 $archive_url = "$(jq -r --arg b $build_name '.artifacts[] | select(.name == $b) | .archive_download_url' llvm_artifacts.json)"
8383 if (! $archive_url) {
8484 Write-Output "$artifacts_url did not contain a $build_name archive; too old?"
You can’t perform that action at this time.
0 commit comments