ci: fix syntax again

This commit is contained in:
2026-05-22 22:57:17 +00:00
parent a314036077
commit 960e51bed7
+5 -4
View File
@@ -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 }}