Skip to content

Commit

Permalink
Fix winget install in download cron
Browse files Browse the repository at this point in the history
I think the problem was the missing `|` when using multi-line scripts 馃槄 now I simplified this into a one-liner (attempt nr. 3)
  • Loading branch information
Zaid-Ajaj committed Nov 2, 2022
1 parent 35d2a6e commit f085f76
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/download-pulumi-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,8 @@ jobs:
steps:
- name: Install WinGet CLI
shell: powershell
run:
Add-AppxPackage -Path 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx'
$wingetAlreadyInstalled = Get-AppPackage -name 'Microsoft.DesktopAppInstaller'
if (!$wingetAlreadyInstalled) { Add-AppxPackage -Path https://aka.ms/getwinget }
run: |
try { winget --help } catch { Add-AppxPackage -Path https://aka.ms/getwinget }
- name: Install Pulumi Using Winget
run: winget install pulumi
- name: Pulumi Version Details
Expand Down

0 comments on commit f085f76

Please sign in to comment.