Skip to content

Commit 5aa9d1f

Browse files
Move working-directory to defaults section in composite action
1 parent 9fc2f9e commit 5aa9d1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ inputs:
3838

3939
runs:
4040
using: composite
41+
defaults:
42+
run:
43+
working-directory: ${{ github.action_path }}
4144
env:
4245
REQUESTED_VERSION: ${{ inputs.Version }}
4346
PRERELEASE: ${{ inputs.Prerelease }}
@@ -48,17 +51,14 @@ runs:
4851
- name: Install PowerShell (Linux)
4952
if: runner.os == 'Linux'
5053
shell: bash
51-
working-directory: ${{ github.action_path }}
5254
run: bash ./scripts/linux/install.sh
5355

5456
- name: Install PowerShell (macOS)
5557
if: runner.os == 'macOS'
5658
shell: bash
57-
working-directory: ${{ github.action_path }}
5859
run: bash ./scripts/macos/install.sh
5960

6061
- name: Install PowerShell (Windows)
6162
if: runner.os == 'Windows'
6263
shell: powershell
63-
working-directory: ${{ github.action_path }}
6464
run: ./scripts/windows/install.ps1

0 commit comments

Comments
 (0)