From 8621a59d47b9e13dd449e6c781e847086e501153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Tue, 12 Jul 2022 18:12:28 +0200 Subject: [PATCH] chore(cd): update windows runners to windows-2022 --- .github/workflows/cd.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d39299ff..b0630741 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -53,15 +53,15 @@ jobs: TOOLCHAIN: stable TARGET: x86_64-unknown-linux-musl - BUILD: win-gnu - OS: windows-2019 + OS: windows-2022 TOOLCHAIN: stable TARGET: x86_64-pc-windows-gnu - BUILD: win-msvc - OS: windows-2019 + OS: windows-2022 TOOLCHAIN: stable TARGET: x86_64-pc-windows-msvc - BUILD: win32-msvc - OS: windows-2019 + OS: windows-2022 TOOLCHAIN: stable TARGET: i686-pc-windows-msvc - BUILD: macos @@ -95,7 +95,7 @@ jobs: cp {LICENSE,README.md,CHANGELOG.md} release/ OUT_DIR=release/completions/ cargo run --release --bin git-cliff-completions OUT_DIR=release/man/ cargo run --release --bin git-cliff-mangen - if [ "${{ matrix.OS }}" = "windows-2019" ]; then + if [ "${{ matrix.OS }}" = "windows-2022" ]; then cp target/${{ matrix.TARGET }}/release/git-cliff.exe release/ else cp target/${{ matrix.TARGET }}/release/git-cliff release/ @@ -104,7 +104,7 @@ jobs: - name: Create release artifacts shell: bash run: | - if [ "${{ matrix.OS }}" = "windows-2019" ]; then + if [ "${{ matrix.OS }}" = "windows-2022" ]; then 7z a -tzip "git-cliff-${{ env.RELEASE_VERSION }}-${{ matrix.TARGET }}.zip" \ git-cliff-${{ env.RELEASE_VERSION }}/ else