Skip to content

Commit c06fa50

Browse files
committed
fix(action): update script paths to use github.action_path
- Replaced hardcoded script paths with `${{ github.action_path }}` to ensure compatibility in different environments. - Adjusted paths for `action.sh` and `post_action.sh` accordingly.
1 parent 726b8e3 commit c06fa50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ runs:
5050
SSH_KNOWN_HOSTS: ${{ inputs.ssh-known-hosts }}
5151
with:
5252
main: |
53-
sh action.sh
53+
sh "${{ github.action_path }}/action.sh"
5454
post: |
55-
sh post_action.sh
55+
sh "${{ github.action_path }}/post_action.sh"
5656
branding:
5757
icon: loader
5858
color: 'purple'

0 commit comments

Comments
 (0)