Skip to content

Commit 20ceb22

Browse files
- fix action path
1 parent fdc58f3 commit 20ceb22

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
text=auto
2+
*.sh text eol=lf

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ runs:
2525
- name: Get Unity Template
2626
id: template
2727
shell: bash
28-
run: ${{ github.action_path }}/get-unity-template.sh "${{ inputs.template-name }}"
28+
env:
29+
ACTION_PATH: ${{ github.action_path }}
30+
TEMPLATE_NAME: ${{ inputs.template-name }}
31+
run: '"${ACTION_PATH}/get-unity-template.sh" "${TEMPLATE_NAME}"'
2932
- uses: RageAgainstThePixel/unity-action@v2
3033
name: Create Unity Project
3134
with:

0 commit comments

Comments
 (0)