Skip to content

Commit

Permalink
Update variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Oct 8, 2024
1 parent b762654 commit a039560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ runs:
key: ${{ steps.cache-macos.outputs.cache-primary-key }}
- name: Activate OpenFOAM for future steps
run: |
OLD_PATH="$PATH"
old_path="$PATH"
source "${{ steps.prep.outputs.openfoam-etc }}/bashrc" || true
for var in "${!WM_@}"; do
Expand All @@ -103,7 +103,7 @@ runs:
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
echo "${PATH/%:$OLD_PATH}" >> "$GITHUB_PATH"
echo "${PATH/%:$old_path}" >> "$GITHUB_PATH"
shell: bash
- name: Add openfoam command to PATH
if: inputs.openfoam-version >= 1000
Expand Down

0 comments on commit a039560

Please sign in to comment.