Skip to content

Commit

Permalink
fix yml syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
slow-groovin committed Oct 17, 2024
1 parent 7eb83e6 commit 85a833b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
run: |
cd environment
echo "VAR_IN_RUN=<var in run>" >> $GITHUB_ENV
echo "[Print ${{}}in step run]: ${{vars.VAR_IN_REPO}},${{secrets.SECRET_IN_REPO}},${{env.VAR_IN_JOB1}}, ${{env.VAR_IN_STEP1}}, ${{env.VAR_IN_RUN}}"
echo "[Print $ in step run], $VAR_IN_REPO,$SECRET_IN_REPO, $VAR_IN_JOB1, $VAR_IN_STEP1, $VAR_IN_RUN"
echo "[echo var in step run]: ${{vars.VAR_IN_REPO}},${{secrets.SECRET_IN_REPO}},${{env.VAR_IN_JOB1}}, ${{env.VAR_IN_STEP1}}, ${{env.VAR_IN_RUN}}"
echo "[echo env in step run], $VAR_IN_REPO,$SECRET_IN_REPO, $VAR_IN_JOB1, $VAR_IN_STEP1, $VAR_IN_RUN"
node printVarsByActionRun.js
# console log result 👆👆:
# [Print in step run]: <var in repo>,***,<var in job1>, <var in step1>,
Expand Down

0 comments on commit 85a833b

Please sign in to comment.