Skip to content

Commit 17f4240

Browse files
authored
Update build-windows.yml
1 parent 13b5452 commit 17f4240

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

.github/workflows/build-windows.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,31 @@ on:
66
pull_request:
77
branches: [ v12.x-httpp ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11+
cancel-in-progress: true
12+
913
env:
10-
PYTHON_VERSION: 3.7
11-
FLAKY_TESTS: dontcare
14+
PYTHON_VERSION: '3.11'
15+
FLAKY_TESTS: keep_retrying
16+
17+
permissions:
18+
contents: read
1219

1320
jobs:
1421
build-windows:
15-
runs-on: windows-2019
22+
if: github.event.pull_request.draft == false
23+
strategy:
24+
matrix:
25+
windows: [windows-2019, windows-2022]
26+
fail-fast: false
27+
runs-on: ${{ matrix.windows }}
1628
steps:
17-
- uses: actions/checkout@v2
18-
- name: Checkout submodules
19-
run: git submodule update --init --recursive
29+
- uses: actions/checkout@v3
30+
with:
31+
persist-credentials: false
2032
- name: Set up Python ${{ env.PYTHON_VERSION }}
21-
uses: actions/setup-python@v1
33+
uses: actions/setup-python@v4
2234
with:
2335
python-version: ${{ env.PYTHON_VERSION }}
2436
- name: Install deps

0 commit comments

Comments
 (0)