[CI] Use VS2022 for releases

This commit is contained in:
Margen67 2024-02-15 13:39:29 -08:00
parent 1e321cbf0e
commit 42b4bf0f82
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
config: config:
- {vsver: VS2022, runs-on: windows-latest} - {vsver: VS2022, runs-on: windows-2022}
- {vsver: VS2019, runs-on: windows-2019} - {vsver: VS2019, runs-on: windows-2019}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -83,7 +83,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
- name: Create release - name: Create release
if: | if: |
matrix.config.runs-on == 'windows-2019' && matrix.config.runs-on == 'windows-2022' &&
github.repository == 'xenia-canary/xenia-canary' && github.repository == 'xenia-canary/xenia-canary' &&
github.event.action != 'pull_request' && github.event.action != 'pull_request' &&
contains(github.ref, 'refs/heads/canary') && contains(github.ref, 'refs/heads/canary') &&