File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,11 @@ inputs:
1616runs :
1717 using : composite
1818 steps :
19- - name : Set shared env
20- shell : bash
21- run : |
22- echo "REQUESTED_VERSION=${{ inputs.Version }}" >> $GITHUB_ENV
23- echo "REINSTALL=${{ inputs.Reinstall }}" >> $GITHUB_ENV
24-
2519 - name : Install PowerShell (Linux)
2620 if : runner.os == 'Linux'
27- id : linux
21+ env :
22+ REQUESTED_VERSION : ${{ inputs.Version }}
23+ REINSTALL : ${{ inputs.Reinstall }}
2824 shell : bash
2925 run : |
3026 set -e
6359
6460 - name : Install PowerShell (macOS)
6561 if : runner.os == 'macOS'
66- id : macos
62+ env :
63+ REQUESTED_VERSION : ${{ inputs.Version }}
64+ REINSTALL : ${{ inputs.Reinstall }}
6765 shell : bash
6866 run : |
6967 set -e
@@ -102,7 +100,9 @@ runs:
102100
103101 - name : Install PowerShell (Windows)
104102 if : runner.os == 'Windows'
105- id : windows
103+ env :
104+ REQUESTED_VERSION : ${{ inputs.Version }}
105+ REINSTALL : ${{ inputs.Reinstall }}
106106 shell : powershell
107107 run : |
108108 function Log($Message) {
You can’t perform that action at this time.
0 commit comments