Skip to content
Discussion options

You must be logged in to vote

the following workflow pass the same String to both and the result is different

You have a typo in these lines

          echo "version1='[\"1\",\"2\",\"3\"]'" >> $GITHUB_OUTPUT
          echo "version2=[\"1\",\"2\",\"3\"]" >> $GITHUB_OUTPUT

You access versions1 / versions2 in later steps, but you are writing version1 / version2 (without a s) into GITHUB_OUTPUT.

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@kuisathaverat
Comment options

Answer selected by kuisathaverat
Comment options

You must be logged in to vote
1 reply
@Fuseteam
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ChristopherHX
Comment options

Comment options

You must be logged in to vote
2 replies
@martinstoeckli
Comment options

@hazu-2nc4
Comment options

Comment options

You must be logged in to vote
1 reply
@BR7RKR
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback Share your thoughts and suggestions on GitHub features and improvements
10 participants