Skip to content

Commit

Permalink
chore(cd): update windows runners to windows-2022
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Jul 12, 2022
1 parent 4b2ded0 commit 8621a59
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand All @@ -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
Expand Down

0 comments on commit 8621a59

Please sign in to comment.