Skip to content

Commit 41372d9

Browse files
committed
CI: Add concurrency, do not fuss about Python build version
1 parent a1f23eb commit 41372d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
schedule:
1313
- cron: '0 0 * * *'
1414

15+
concurrency:
16+
group: python-${{ github.ref }}
17+
cancel-in-progress: true
1518

1619
jobs:
1720
check_if_skip:
@@ -38,17 +41,14 @@ jobs:
3841
needs: check_if_skip
3942
if: "!contains(needs.check_if_skip.outputs.commit_message, '[skip ci]')"
4043
runs-on: ubuntu-latest
41-
strategy:
42-
matrix:
43-
python-version: ["3.10"]
4444
steps:
4545
- uses: actions/checkout@v3
4646
with:
4747
fetch-depth: 0
48-
- name: Set up Python ${{ matrix.python-version }}
48+
- name: Set up Python 3
4949
uses: actions/setup-python@v4
5050
with:
51-
python-version: ${{ matrix.python-version }}
51+
python-version: 3
5252
- name: Display Python version
5353
run: python -c "import sys; print(sys.version)"
5454
- name: Check python version and install build

0 commit comments

Comments
 (0)