@@ -66,11 +66,11 @@ jobs:
66
66
shell: bash
67
67
steps:
68
68
- name: Rebuild tip.cuelang.org
69
- run: 'curl -f - s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
69
+ run: 'curl -s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
70
70
}} --request POST --data-binary "{"event_type": "Re-test post release of ${GITHUB_REF##refs/tags/}"}"
71
71
https://api.github.com/repos/cuelang/cuelang.org/dispatches'
72
72
- name: Trigger unity build
73
- run: 'curl -f - s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
73
+ run: 'curl -s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
74
74
}} --request POST --data-binary "{"event_type": "Check against CUE ${GITHUB_REF##refs/tags/}",
75
75
"client_payload": {"type": "unity", "payload": {"versions": "\"${GITHUB_REF##refs/tags/}\"}}}"
76
76
https://api.github.com/repos/cue-sh/unity/dispatches'
@@ -231,7 +231,7 @@ jobs:
231
231
run: echo "${{ secrets.gerritCookie }}" > ~/.gitcookies
232
232
- if: ${{ startsWith(github.ref, 'refs/heads/ci/') }}
233
233
name: Update Gerrit CL message with starting message
234
- run: 'curl -f - s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Started
234
+ run: 'curl -s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Started
235
235
the build... see progress at ${{ github.event.repository.html_url }}/actions/runs/${{
236
236
github.run_id }}"}'' -b ~/.gitcookies https://cue-review.googlesource.com/a/changes/$(basename
237
237
$(dirname $GITHUB_REF))/revisions/$(basename $GITHUB_REF)/review'
@@ -294,7 +294,7 @@ jobs:
294
294
GOPROXY=https://proxy.golang.org go get -d cuelang.org/go/cmd/cue@$v
295
295
- if: ${{ startsWith(github.ref, 'refs/heads/ci/') && failure() }}
296
296
name: Post any failures for this matrix entry
297
- run: 'curl -f - s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Build
297
+ run: 'curl -s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Build
298
298
failed for ${{ runner.os }}-${{ matrix.go-version }}; see ${{ github.event.repository.html_url
299
299
}}/actions/runs/${{ github.run_id }} for more details","labels":{"Code-Review":-1}}''
300
300
-b ~/.gitcookies https://cue-review.googlesource.com/a/changes/$(basename
@@ -310,7 +310,7 @@ jobs:
310
310
- name: Write the gitcookies file
311
311
run: echo "${{ secrets.gerritCookie }}" > ~/.gitcookies
312
312
- name: Update Gerrit CL message with success message
313
- run: 'curl -f - s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Build
313
+ run: 'curl -s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Build
314
314
succeeded for ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id
315
315
}}","labels":{"Code-Review":1}}'' -b ~/.gitcookies https://cue-review.googlesource.com/a/changes/$(basename
316
316
$(dirname $GITHUB_REF))/revisions/$(basename $GITHUB_REF)/review'
@@ -346,10 +346,10 @@ jobs:
346
346
shell: bash
347
347
steps:
348
348
- name: Rebuild tip.cuelang.org
349
- run: curl -f - s -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.CuelangOrgTipRebuildHook
349
+ run: curl -s -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.CuelangOrgTipRebuildHook
350
350
}}
351
351
- name: Trigger unity build
352
- run: 'curl -f - s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
352
+ run: 'curl -s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
353
353
}} --request POST --data-binary "{"event_type": "Check against ${GITHUB_SHA}",
354
354
"client_payload": {"type": "unity", "payload": {"versions": "\"commit:${GITHUB_SHA}\""}}}"
355
355
https://api.github.com/repos/cue-sh/unity/dispatches'
@@ -1559,4 +1559,4 @@ _#copybaraSteps: {
1559
1559
_#name: string
1560
1560
_#cmd: string
1561
1561
}
1562
- _#curl: "curl -f - s"
1562
+ _#curl: "curl -s"
0 commit comments