Skip to content

Commit 59e35d5

Browse files
Remove unsupported defaults section, restore working-directory to steps
1 parent 5aa9d1f commit 59e35d5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ inputs:
3636
required: false
3737
default: github.com
3838

39+
40+
3941
runs:
4042
using: composite
41-
defaults:
42-
run:
43-
working-directory: ${{ github.action_path }}
4443
env:
4544
REQUESTED_VERSION: ${{ inputs.Version }}
4645
PRERELEASE: ${{ inputs.Prerelease }}
@@ -51,14 +50,17 @@ runs:
5150
- name: Install PowerShell (Linux)
5251
if: runner.os == 'Linux'
5352
shell: bash
53+
working-directory: ${{ github.action_path }}
5454
run: bash ./scripts/linux/install.sh
5555

5656
- name: Install PowerShell (macOS)
5757
if: runner.os == 'macOS'
5858
shell: bash
59+
working-directory: ${{ github.action_path }}
5960
run: bash ./scripts/macos/install.sh
6061

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

0 commit comments

Comments
 (0)