ci: replace windows-2019 runner with windows-2022 (#1756)

As it's deprecated and causing problems.
This commit is contained in:
Clement Tsang 2025-07-16 22:02:38 -04:00 committed by GitHub
parent 16b805b0a2
commit 4605e88927
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 11 deletions

View File

@ -84,13 +84,13 @@ jobs:
# Windows (x86-64, x86) # Windows (x86-64, x86)
- { - {
os: "windows-2019", os: "windows-2022",
target: "x86_64-pc-windows-msvc", target: "x86_64-pc-windows-msvc",
cross: false, cross: false,
} }
- { os: "windows-2019", target: "i686-pc-windows-msvc", cross: false } - { os: "windows-2022", target: "i686-pc-windows-msvc", cross: false }
- { - {
os: "windows-2019", os: "windows-2022",
target: "x86_64-pc-windows-gnu", target: "x86_64-pc-windows-gnu",
cross: false, cross: false,
} }
@ -165,7 +165,7 @@ jobs:
mv "$MANPAGE_DIR" manpage mv "$MANPAGE_DIR" manpage
- name: Bundle release and completion (Windows) - name: Bundle release and completion (Windows)
if: matrix.info.os == 'windows-2019' if: matrix.info.os == 'windows-2022'
shell: bash shell: bash
run: | run: |
cp target/${{ matrix.info.target }}/release/btm.exe btm.exe cp target/${{ matrix.info.target }}/release/btm.exe btm.exe
@ -174,7 +174,7 @@ jobs:
echo "ASSET=bottom_${{ matrix.info.target }}.zip" >> $GITHUB_ENV echo "ASSET=bottom_${{ matrix.info.target }}.zip" >> $GITHUB_ENV
- name: Bundle release and completion (Linux and macOS) - name: Bundle release and completion (Linux and macOS)
if: matrix.info.os != 'windows-2019' if: matrix.info.os != 'windows-2022'
shell: bash shell: bash
run: | run: |
cp target/${{ matrix.info.target }}/release/btm ./btm cp target/${{ matrix.info.target }}/release/btm ./btm
@ -302,7 +302,7 @@ jobs:
build-msi: build-msi:
name: "Build MSI (WiX) installer" name: "Build MSI (WiX) installer"
runs-on: "windows-2019" runs-on: "windows-2022"
timeout-minutes: 12 timeout-minutes: 12
steps: steps:
- name: Checkout repository - name: Checkout repository

View File

@ -76,7 +76,7 @@ jobs:
- { os: "macos-13", target: "x86_64-apple-darwin", cross: false } - { os: "macos-13", target: "x86_64-apple-darwin", cross: false }
- { os: "macos-14", target: "aarch64-apple-darwin", cross: false } - { os: "macos-14", target: "aarch64-apple-darwin", cross: false }
- { - {
os: "windows-2019", os: "windows-2022",
target: "x86_64-pc-windows-msvc", target: "x86_64-pc-windows-msvc",
cross: false, cross: false,
} }
@ -163,9 +163,9 @@ jobs:
cross: true, cross: true,
} }
- { os: "windows-2019", target: "i686-pc-windows-msvc", cross: false } - { os: "windows-2022", target: "i686-pc-windows-msvc", cross: false }
- { - {
os: "windows-2019", os: "windows-2022",
target: "x86_64-pc-windows-gnu", target: "x86_64-pc-windows-gnu",
cross: false, cross: false,
} }
@ -184,7 +184,7 @@ jobs:
rust: "beta", rust: "beta",
} }
- { - {
os: "windows-2019", os: "windows-2022",
target: "x86_64-pc-windows-msvc", target: "x86_64-pc-windows-msvc",
cross: false, cross: false,
rust: "beta", rust: "beta",

View File

@ -44,7 +44,7 @@ jobs:
info: info:
- { os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu" } - { os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu" }
- { os: "macos-14", target: "aarch64-apple-darwin", cross: false } - { os: "macos-14", target: "aarch64-apple-darwin", cross: false }
- { os: "windows-2019", target: "x86_64-pc-windows-msvc" } - { os: "windows-2022", target: "x86_64-pc-windows-msvc" }
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7