Skip to content

Commit

Permalink
use doubled double quotes rather than \"
Browse files Browse the repository at this point in the history
  • Loading branch information
Tkael committed Apr 11, 2021
1 parent 3d4732c commit 73e181b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CancelDuplicateWorkflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: get-cancelled-runs
run: |
if ('${{ steps.cancel-runs.outputs.cancelledRuns }}' -ne '[]') { echo "::set-output name=cleanup::true" } else { echo "::set-output name=cleanup::false" }
if ('${{ steps.cancel-runs.outputs.cancelledRuns }}' -ne '[]') { echo "::set-output name=matrix::{\"cancelledRuns\":${{ steps.cancel-runs.outputs.cancelledRuns }}}" } else { echo "::set-output name=matrix::{\"cancelledRuns\":[-1]}" }
if ('${{ steps.cancel-runs.outputs.cancelledRuns }}' -ne '[]') { echo "::set-output name=matrix::{""cancelledRuns"":${{ steps.cancel-runs.outputs.cancelledRuns }}}" } else { echo "::set-output name=matrix::{""cancelledRuns"":[-1]}" }
outputs:
cleanup: ${{ steps.get-cancelled-runs.outputs.cleanup }}
matrix: ${{ steps.get-cancelled-runs.outputs.matrix }}
Expand Down

0 comments on commit 73e181b

Please sign in to comment.