Skip to content

Commit

Permalink
repro
Browse files Browse the repository at this point in the history
  • Loading branch information
jonapgar-groupby committed Apr 22, 2024
1 parent 2ab6820 commit 831ba8f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"outputs": ["{workspaceRoot}/output.txt"],
"options": {
"commands": [
"/bin/echo -n \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" > output.txt",
"/bin/echo \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\""
"/bin/echo \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\"",
"/bin/echo -n \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" > output.txt"
]
}
},
Expand All @@ -29,7 +29,11 @@
],
"outputs": [],
"options": {
"commands": ["if [ \"$(cat output.txt)\" = \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" ]; then exit 0; else /bin/echo \"NO MATCH ${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" && cat output.txt && exit 1; fi"]
"commands": [
"cat output.txt",
"/bin/echo \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\"",
"if [ \"$(cat output.txt)\" = \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" ]; then exit 0; else exit 1; fi"
]
}
}
}
Expand Down

0 comments on commit 831ba8f

Please sign in to comment.