Skip to content

Commit

Permalink
add github actions print_path.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bandeapart committed Dec 14, 2024
1 parent 204fab0 commit 67ae314
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/print_path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
echo "launch path after checkout=$(pwd)"
cd ~
echo "~=$(pwd)"
echo "HOME=$(HOME)"
echo "GITHUB_WORKSPACE=$(GITHUB_WORKSPACE)"
echo "if you want to use `GITHUB_WORKSPACE` in yml, try ${{ github.workspace }}"
echo "HOME=$HOME"
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE"
echo "{{ github.workspace }}=${{ github.workspace }}"
echo "GITHUB_WORKSPACE and {{ github.workspace }} should has same value, difference is: GITHUB_WORKSPACE replace when bash executing, {{ github.workspace }} replace when yml parsing"

0 comments on commit 67ae314

Please sign in to comment.