Skip to content

Commit 8a9ec38

Browse files
Add debug output and check user.
1 parent 39866b6 commit 8a9ec38

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/perpendicular-flap.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout Repository
2424
uses: actions/checkout@v4
25+
- name: Check user
26+
run: whoami
2527
- name: Activate OpenFOAM # From https://github.com/gerlero/setup-openfoam/blob/68e0bf96c7f2aac1a100291a5d61fff934a472a8/action.yml#L54-L69
2628
run: |
2729
old_path="$PATH"
@@ -38,6 +40,16 @@ jobs:
3840
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
3941
4042
echo "${PATH/%:$old_path}" >> "$GITHUB_PATH"
43+
- name: Print some debug output
44+
# problematic: export WM_PROJECT_USER_DIR="$HOME/$WM_PROJECT/${USER:-user}-$WM_PROJECT_VERSION"
45+
run: |
46+
echo $WM_PROJECT_USER_DIR
47+
echo $HOME
48+
echo $WM_PROJECT
49+
echo $USER
50+
echo $WM_PROJECT_VERSION
51+
- name: Check user
52+
run: whoami
4153
- name: Setup tmate session
4254
uses: mxschmitt/action-tmate@v3
4355
with:

0 commit comments

Comments
 (0)