diff --git a/.github/actions/artfdelc/action.yml b/.github/actions/artfdelc/action.yml index 7bfd4ea927..8108ee997d 100644 --- a/.github/actions/artfdelc/action.yml +++ b/.github/actions/artfdelc/action.yml @@ -28,6 +28,6 @@ runs: run: | $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` -X POST "https://api.github.com/repos/${{ github.repository }}/dispatches" ` - -d '{\"event_type\":\"delete_artifacts\",\"client_payload\":{\"runid\":\"${{ github.run_id }}\"}}' + -d '{"event_type":"delete_artifacts","client_payload":{"runid":"${{ github.run_id }}"}}' if( '${{ inputs.owdebug }}' -eq '1' ) { $response } shell: pwsh diff --git a/.github/actions/ghrelcre/action.yml b/.github/actions/ghrelcre/action.yml index 1c4715167e..4f36bcea4a 100644 --- a/.github/actions/ghrelcre/action.yml +++ b/.github/actions/ghrelcre/action.yml @@ -51,7 +51,7 @@ runs: run: | $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` -X POST "https://api.github.com/repos/${{ github.repository }}/git/tags" ` - -d '{\"tag\":\"${{ inputs.tag }}\",\"message\":\"${{ inputs.tagmsg }}\",\"object\":\"${{ steps.last_commit.outputs.sha }}\",\"type\":\"commit\",\"tagger\":{\"name\":\"Open Watcom GitHub\",\"email\":\"openwatcom.github@gmail.com\"}}' + -d '{"tag":"${{ inputs.tag }}","message":"${{ inputs.tagmsg }}","object":"${{ steps.last_commit.outputs.sha }}","type":"commit","tagger":{"name":"Open Watcom GitHub","email":"openwatcom.github@gmail.com"}}' if( '${{ inputs.owdebug }}' -eq '1' ) { $response } $sha = $response | jq -r .sha if( "$sha" -eq 'null' ) { $sha = '' } @@ -63,7 +63,7 @@ runs: echo "${{ steps.ghtag.outputs.sha }}" $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` -X POST "https://api.github.com/repos/${{ github.repository }}/git/refs" ` - -d '{\"ref\":\"refs/tags/${{ inputs.tag }}\",\"sha\":\"${{ steps.ghtag.outputs.sha }}\"}' + -d '{"ref":"refs/tags/${{ inputs.tag }}","sha":"${{ steps.ghtag.outputs.sha }}"}' if( '${{ inputs.owdebug }}' -eq '1' ) { $response } shell: pwsh - if: steps.ghtag.outputs.sha != '' @@ -72,7 +72,7 @@ runs: run: | $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` -X POST "https://api.github.com/repos/${{ github.repository }}/releases" ` - -d '{\"tag_name\":\"${{ inputs.tag }}\",\"target_commitish\":\"master\",\"name\":\"${{ inputs.title }}\",\"body\":\"${{ inputs.note }}\",\"draft\":false,\"prerelease\":true,\"generate_release_notes\":false}' + -d '{"tag_name":"${{ inputs.tag }}","target_commitish":"master","name":"${{ inputs.title }}","body":"${{ inputs.note }}","draft":false,"prerelease":true,"generate_release_notes":false}' if( '${{ inputs.owdebug }}' -eq '1' ) { $response } $id = $response | jq -r .id if( "$id" -eq 'null' ) { $id = '' } diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 453fb1ecab..43c9d678ac 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -133,7 +133,7 @@ jobs: run: | $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` -X POST "https://api.github.com/repos/${{ github.repository }}/git/refs" ` - -d '{\"ref\":\"refs/tags/${{ env.OWCOV_TAG }}\",\"sha\":\"${{ steps.last_commit.outputs.sha }}\"}' + -d '{"ref":"refs/tags/${{ env.OWCOV_TAG }}","sha":"${{ steps.last_commit.outputs.sha }}"}' if( '${{ vars.OWDEBUG }}' -eq '1' ) { $response } shell: pwsh - if: steps.check_tag.outputs.sha != '' @@ -141,7 +141,7 @@ jobs: run: | $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` -X PATCH "https://api.github.com/repos/${{ github.repository }}/git/refs/tags/${{ env.OWCOV_TAG }}" ` - -d '{\"sha\":\"${{ steps.last_commit.outputs.sha }}\"}' + -d '{"sha":"${{ steps.last_commit.outputs.sha }}"}' if( '${{ vars.OWDEBUG }}' -eq '1' ) { $response } shell: pwsh @@ -245,7 +245,7 @@ jobs: # run: | # $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` # -X POST "https://api.github.com/repos/${{ github.repository }}/git/refs" ` -# -d '{\"ref\":\"refs/tags/${{ env.OWCOV_TAG }}\",\"sha\":\"${{ steps.last_commit.outputs.sha }}\"}' +# -d '{"ref":"refs/tags/${{ env.OWCOV_TAG }}","sha":"${{ steps.last_commit.outputs.sha }}"}' # if( '${{ vars.OWDEBUG }}' -eq '1' ) { $response } # shell: pwsh # - if: steps.check_tag.outputs.sha != '' @@ -253,6 +253,6 @@ jobs: # run: | # $response = ${{ steps.curlcmd.outputs.gh }} -H "Authorization: Bearer ${{ github.token }}" ` # -X PATCH "https://api.github.com/repos/${{ github.repository }}/git/refs/tags/${{ env.OWCOV_TAG }}" ` -# -d '{\"sha\":\"${{ steps.last_commit.outputs.sha }}\"}' +# -d '{"sha":"${{ steps.last_commit.outputs.sha }}"}' # if( '${{ vars.OWDEBUG }}' -eq '1' ) { $response } # shell: pwsh