We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 398e84d commit f4087cdCopy full SHA for f4087cd
2 files changed
.github/actions/setup-powershell/action.yml
@@ -8,10 +8,6 @@ inputs:
8
runs:
9
using: composite
10
steps:
11
- # Set global environment variable for all subsequent steps
12
- - run: echo "POWERSHELL_VERSION=${{ inputs.version }}" >> $GITHUB_ENV
13
- shell: bash
14
-
15
# Download the powershell '.tar.gz' archive
16
- run: curl -L -o /tmp/powershell.tar.gz "https://github.com/PowerShell/PowerShell/releases/download/v$POWERSHELL_VERSION/powershell-$POWERSHELL_VERSION-linux-x64.tar.gz"
17
shell: bash
.github/workflows/build.yml
@@ -75,8 +75,8 @@ jobs:
75
- name: Setup PowerShell ${{ matrix.version }}
76
if: ${{ matrix.version != '' }}
77
uses: ./.github/actions/setup-powershell
78
- with:
79
- version: ${{ matrix.version }}
+ env:
+ POWERSHELL_VERSION: ${{ matrix.version }}
80
81
- run: $PSVersionTable
82
0 commit comments