Skip to content

Commit

Permalink
[android] install Chocolatey if not installed
Browse files Browse the repository at this point in the history
Installs the Chocolatey package manager if it is not already installed
on the system. This is currently needed for the Azure runners but not
for GitHub runners, where Chocolatey is pre-installed.
  • Loading branch information
andrurogerz committed Aug 24, 2024
1 parent ad0e093 commit 291178b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/swift-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ jobs:
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64'
arch: amd64

# TODO(issues/205): Preload Chocolatey package manager on Azure images so we can remove this step.
- uses: andrurogerz/ensure-chocolatey@v1

- name: Install Flex and Bison Tools
run: choco install winflexbison3

Expand Down Expand Up @@ -402,6 +405,9 @@ jobs:
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64'
arch: ${{ matrix.arch }}

# TODO(issues/205): Preload Chocolatey package manager on Azure images so we can remove this step.
- uses: andrurogerz/ensure-chocolatey@v1

- name: Install Flex and Bison Tools
run: choco install winflexbison3

Expand Down

0 comments on commit 291178b

Please sign in to comment.