Skip to content

Commit 13ba3fd

Browse files
Replace self hosted with arm runners (#85)
1 parent 552a1a5 commit 13ba3fd

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

.github/workflows/build-tool-packages.yml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -82,41 +82,17 @@ jobs:
8282
- os: windows-latest
8383
platform: win32
8484
architecture: x64
85-
- os: setup-actions-ubuntu-arm64-2-core
85+
- os: ubuntu-22.04-arm
8686
platform: linux
8787
architecture: arm64
88-
runner_type: self-hosted
8988
- os: macos-latest
9089
platform: darwin
9190
architecture: arm64
92-
- os: setup-actions-windows-arm64-4-core
91+
- os: windows-11-arm
9392
platform: win32
9493
architecture: arm64
95-
runner_type: self-hosted
9694

97-
steps:
98-
- name: Setup Environment on Windows ARM64 Runner
99-
if: matrix.os == 'setup-actions-windows-arm64-4-core'
100-
shell: powershell
101-
run: |
102-
# Install Chocolatey
103-
Set-ExecutionPolicy Bypass -Scope Process -Force
104-
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
105-
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
106-
echo "C:\ProgramData\Chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
107-
108-
# Install PowerShell
109-
choco install powershell-core -y
110-
echo "C:\Program Files\PowerShell\7" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
111-
112-
# Install Git
113-
choco install git -y
114-
echo "C:\Program Files\Git\cmd" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
115-
116-
117-
# Install 7-Zip
118-
choco install 7zip -y
119-
echo "C:\ProgramData\chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
95+
steps:
12096
- name: checkout
12197
if: env.excludewinarm == 'true'
12298
uses: actions/checkout@v4

0 commit comments

Comments
 (0)