[CI] Use VS2022 for releases
This commit is contained in:
parent
1e321cbf0e
commit
42b4bf0f82
|
@ -53,7 +53,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- {vsver: VS2022, runs-on: windows-latest}
|
||||
- {vsver: VS2022, runs-on: windows-2022}
|
||||
- {vsver: VS2019, runs-on: windows-2019}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -83,7 +83,7 @@ jobs:
|
|||
if-no-files-found: error
|
||||
- name: Create release
|
||||
if: |
|
||||
matrix.config.runs-on == 'windows-2019' &&
|
||||
matrix.config.runs-on == 'windows-2022' &&
|
||||
github.repository == 'xenia-canary/xenia-canary' &&
|
||||
github.event.action != 'pull_request' &&
|
||||
contains(github.ref, 'refs/heads/canary') &&
|
||||
|
|
Loading…
Reference in New Issue