[CI] Use VS2022 for releases
This commit is contained in:
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
@@ -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') &&
|
||||
|
||||
Reference in New Issue
Block a user