Skip to content

Commit f2ca121

Browse files
committed
fix(ci): follow redirects
1 parent 17896b0 commit f2ca121

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636

3737
- if: github.event_name == 'repository_dispatch'
3838
run: |
39-
curl -fo openapi.json ${{ github.event.client_payload.artifacts['openapi.json'] }}
39+
curl -Lfo openapi.json ${{ github.event.client_payload.artifacts['openapi.json'] }}
4040
echo "from=repository_dispatch" >> $GITHUB_ENV
4141
4242
- if: github.event_name == 'workflow_dispatch' && github.event.inputs.url != ''
4343
run: |
44-
curl -fo openapi.json ${{ github.event.inputs.url }}
44+
curl -Lfo openapi.json ${{ github.event.inputs.url }}
4545
echo "from=workflow_dispatch" >> $GITHUB_ENV
4646
4747
- if: env.from == ''
48-
run: curl -fo openapi.json https://github.com/vrchatapi/specification/releases/latest/download/openapi.json
48+
run: curl -Lfo openapi.json https://github.com/vrchatapi/specification/releases/latest/download/openapi.json
4949

5050
- run: |
5151
version=$(jq -r '.info.version' ./openapi.json)

0 commit comments

Comments
 (0)