Skip to content

Commit a292011

Browse files
ItsHarperqwertychouskie
authored andcommitted
Fix CI: Make curl follow redirects
Port of 44bdc5b
1 parent c446000 commit a292011

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
halPlatformUrl=https://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/hal/hal-cpp/"$halVersion"/hal-cpp-"$halVersion"-${{ matrix.platform-type }}.zip
5858
utilPlatformUrl=https://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/wpiutil/wpiutil-cpp/"$halVersion"/wpiutil-cpp-"$halVersion"-${{ matrix.platform-type }}.zip
5959
60-
curl -o halPlatform.zip "$halPlatformUrl"
61-
curl -o utilPlatform.zip "$utilPlatformUrl"
60+
curl -L -o halPlatform.zip "$halPlatformUrl"
61+
curl -L -o utilPlatform.zip "$utilPlatformUrl"
6262
6363
- name: Unzip WPILib HAL artifacts and headers
6464
run: |
@@ -128,8 +128,8 @@ jobs:
128128
halPlatformUrl=https://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/hal/hal-cpp/"$halVersion"/hal-cpp-"$halVersion"-${{ matrix.platform-type }}.zip
129129
utilPlatformUrl=https://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/wpiutil/wpiutil-cpp/"$halVersion"/wpiutil-cpp-"$halVersion"-${{ matrix.platform-type }}.zip
130130
131-
curl -o halPlatform.zip "$halPlatformUrl"
132-
curl -o utilPlatform.zip "$utilPlatformUrl"
131+
curl -L -o halPlatform.zip "$halPlatformUrl"
132+
curl -L -o utilPlatform.zip "$utilPlatformUrl"
133133
134134
- name: Unzip WPILib HAL artifacts and headers
135135
run: |
@@ -184,8 +184,8 @@ jobs:
184184
halHeadersUrl=https://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/hal/hal-cpp/"$halVersion"/hal-cpp-"$halVersion"-headers.zip
185185
utilHeadersUrl=https://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/wpiutil/wpiutil-cpp/"$halVersion"/wpiutil-cpp-"$halVersion"-headers.zip
186186
187-
curl -o halHeaders.zip "$halHeadersUrl"
188-
curl -o utilHeaders.zip "$utilHeadersUrl"
187+
curl -L -o halHeaders.zip "$halHeadersUrl"
188+
curl -L -o utilHeaders.zip "$utilHeadersUrl"
189189
190190
- name: Unzip WPILib HAL artifacts and headers
191191
run: |
@@ -233,4 +233,4 @@ jobs:
233233
uses: actions/upload-artifact@v4
234234
with:
235235
name: version
236-
path: build/allOutputs/version.txt
236+
path: build/allOutputs/version.txt

0 commit comments

Comments
 (0)