File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Test
33on : [push]
44
55env :
6- VERSION_WE_ARE_LOOKING_FOR : " 3.14.16"
6+ EXPECTED : " 3.14.16"
77
88jobs :
99 release :
1818 - run : npm ci
1919 - run : mkdir ./test_1
2020 - run : |
21- echo '{"version": "${{ env.VERSION_WE_ARE_LOOKING_FOR }}"}' > ./test_1/package.json
21+ echo '{"version": "${{ env.EXPECTED }}"}' > ./test_1/package.json
2222 - name : Test 1
2323 id : package_ver
2424 uses : ./
2828 - name : Check results
2929 uses : actions/github-script@v7
3030 env :
31- EXPECTED : ${{ env.VERSION_WE_ARE_LOOKING_FOR }}
3231 RECEIVED : ${{ steps.package_ver.outputs.version }}
3332 with :
3433 script : |
3534 const { EXPECTED, RECEIVED } = process.env;
36- if (RECEIVED !== EXPECTED )
35+ if (RECEIVED !== '321' )
3736 core.setFailed(`Expected [${EXPECTED}], but got [${RECEIVED}]`)
You can’t perform that action at this time.
0 commit comments