Skip to content

Commit 3fbc6b2

Browse files
committed
[android] install Chocolatey if not installed
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.
1 parent d1e0afb commit 3fbc6b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/swift-toolchain.yml

+4
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ jobs:
305305
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64'
306306
arch: amd64
307307

308+
- uses: andrurogersz/ensure-chocolatey@v1
309+
308310
- name: Install Flex and Bison Tools
309311
run: choco install winflexbison3
310312

@@ -386,6 +388,8 @@ jobs:
386388
components: 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64;Microsoft.VisualStudio.Component.VC.Tools.ARM64'
387389
arch: ${{ matrix.arch }}
388390

391+
- uses: andrurogersz/ensure-chocolatey@v1
392+
389393
- name: Install Flex and Bison Tools
390394
run: choco install winflexbison3
391395

0 commit comments

Comments
 (0)