Skip to content

Commit c290d1a

Browse files
boomanaiden154lanza
authored andcommitted
[CI][Github] Bump Windows Container to Server 2022
This patch bumps the windows CI container to windows server 2022 from windows server 2019. This is necessary as Github has sunsetted support for sever 2019, so we cannot build the container through GHA without updating. Using more recent versions is just good practice anyways. This will not roll out immediately and we'll have to make some TF changes to get deployed, but some additional validation first will be good anyways. Reviewers: lnihlen, tstellar, cmtice Reviewed By: cmtice Pull Request: llvm#148318 (cherry picked from commit 3e43915)
1 parent 306c79c commit c290d1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-ci-container-windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
jobs:
1919
build-ci-container-windows:
2020
if: github.repository_owner == 'llvm'
21-
runs-on: windows-2019
21+
runs-on: windows-2022
2222
outputs:
2323
container-name: ${{ steps.vars.outputs.container-name }}
2424
container-name-tag: ${{ steps.vars.outputs.container-name-tag }}
@@ -32,7 +32,7 @@ jobs:
3232
id: vars
3333
run: |
3434
$tag = [int64](Get-Date -UFormat %s)
35-
$container_name="ghcr.io/$env:GITHUB_REPOSITORY_OWNER/ci-windows-2019"
35+
$container_name="ghcr.io/$env:GITHUB_REPOSITORY_OWNER/ci-windows-2022"
3636
echo "container-name=${container_name}" >> $env:GITHUB_OUTPUT
3737
echo "container-name-tag=${container_name}:${tag}" >> $env:GITHUB_OUTPUT
3838
echo "container-filename=ci-windows-${tag}.tar" >> $env:GITHUB_OUTPUT
@@ -56,7 +56,7 @@ jobs:
5656
- build-ci-container-windows
5757
permissions:
5858
packages: write
59-
runs-on: windows-2019
59+
runs-on: windows-2022
6060
env:
6161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6262
steps:

0 commit comments

Comments
 (0)