Skip to content

Commit

Permalink
gh-actions: install awscli in self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Sep 9, 2024
1 parent abdcb2e commit af45bbd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-windows-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ jobs:
with:
msbuild-architecture: x64

- uses: ConorMacBride/install-package@v1.1.0
with:
choco: awscli

- uses: myci-actions/export-env-var-powershell@1
with:
name: PATH
value: C:\Program Files\Amazon\AWSCLIV2\;$env:PATH

- name: "Enalbe LongPath"
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
Expand Down Expand Up @@ -99,6 +108,15 @@ jobs:
with:
msbuild-architecture: x64

- uses: ConorMacBride/install-package@v1.1.0
with:
choco: awscli

- uses: myci-actions/export-env-var-powershell@1
with:
name: PATH
value: C:\Program Files\Amazon\AWSCLIV2\;$env:PATH

- name: "Enalbe LongPath"
run: |
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
Expand Down Expand Up @@ -150,6 +168,15 @@ jobs:
with:
msbuild-architecture: x64

- uses: ConorMacBride/install-package@v1.1.0
with:
choco: awscli

- uses: myci-actions/export-env-var-powershell@1
with:
name: PATH
value: C:\Program Files\Amazon\AWSCLIV2\;$env:PATH

- uses: humbletim/install-vulkan-sdk@v1.1.1 # install Vulkan sdk if env.VULKAN_SDK is empty
if: env.VULKAN_SDK == ''
with:
Expand Down

0 comments on commit af45bbd

Please sign in to comment.