Skip to content

Commit 8a16805

Browse files
committed
feat: rename $THIS to $ACTION_PATH as github.action_path
1 parent 027d994 commit 8a16805

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ runs:
335335
${{ github.action_path }}/setup-cvmfs.sh
336336
shell: bash
337337
env:
338-
THIS: ${{ github.action_path }}
338+
ACTION_PATH: ${{ github.action_path }}
339339
CVMFS_ALIEN_CACHE: ${{ inputs.cvmfs_alien_cache }}
340340
CVMFS_ALT_ROOT_PATH: ${{ inputs.cvmfs_alt_root_path }}
341341
CVMFS_AUTHZ_HELPER: ${{ inputs.cvmfs_authz_helper }}

setup-cvmfs.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ else
2727
exit 1
2828
fi
2929

30-
if [ "$1" == "local" ]; then
31-
. createConfig.sh
32-
else
33-
$THIS/createConfig.sh
34-
fi
30+
${ACTION_PATH}/createConfig.sh
3531

3632
echo "Run cvmfs_config setup"
3733
sudo cvmfs_config setup

0 commit comments

Comments
 (0)