Skip to content

Commit 017ea85

Browse files
committed
use env to pass input and output parameters
1 parent d5d271d commit 017ea85

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/l10n.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,10 @@ jobs:
206206
shell: pwsh
207207
- name: Download Executable
208208
if: ${{ inputs.win_installer_link }}
209+
env:
210+
WIN_INSTALLER_LINK: ${{ inputs.win_installer_link }}
209211
run: |
210-
Invoke-WebRequest -Uri ${{ inputs.win_installer_link }} -OutFile "${{ github.workspace }}\setup.exe"
212+
Invoke-WebRequest -Uri $WIN_INSTALLER_LINK -OutFile "${{ github.workspace }}\setup.exe"
211213
New-Item -ItemType Directory -Path "C:\Program Files\Custom Firefox" -Force
212214
shell: pwsh
213215
- name: Install Beta

.github/workflows/smoke.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ jobs:
9191
shell: pwsh
9292
- name: Download Executable
9393
if: ${{ inputs.win_installer_link }}
94+
env:
95+
WIN_INSTALLER_LINK: ${{ inputs.win_installer_link }}
9496
run: |
95-
Invoke-WebRequest -Uri ${{ inputs.win_installer_link }} -OutFile "${{ github.workspace }}\setup.exe"
97+
Invoke-WebRequest -Uri $WIN_INSTALLER_LINK -OutFile "${{ github.workspace }}\setup.exe"
9698
New-Item -ItemType Directory -Path "C:\Program Files\Custom Firefox" -Force
9799
shell: pwsh
98100
- name: Install Beta

0 commit comments

Comments
 (0)