ci: fix syntax again
This commit is contained in:
@@ -12,10 +12,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: |-
|
- run: |-
|
||||||
curl -s "$GITHUB_API_URL/repos/codinget/actions-test/actions/workflows/test-inputs/dispatches"
|
curl -s "$GITHUB_API_URL/repos/codinget/actions-test/actions/workflows/test-inputs/dispatches" \
|
||||||
-X POST
|
-X POST \
|
||||||
-H "Authorization: token $ACTIONS_RUNTIME_TOKEN"
|
-H "Authorization: token $ACTIONS_RUNTIME_TOKEN" \
|
||||||
-H "Content-Type: application/json" -d '{
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"restart": ${{ inputs.restart }}
|
"restart": ${{ inputs.restart }}
|
||||||
|
|||||||
Reference in New Issue
Block a user