Skip to content

Commit 3eaf71e

Browse files
committed
Update CI/CD
Signed-off-by: Karel Blavka <karel.blavka@bigclown.com>
1 parent 35abe7a commit 3eaf71e

2 files changed

Lines changed: 29 additions & 23 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@ jobs:
1212
strategy:
1313
matrix:
1414
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
15+
1516
steps:
16-
- uses: actions/checkout@v2
17-
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v2
19-
with:
20-
python-version: ${{ matrix.python-version }}
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: "Set up Python ${{ matrix.python-version }}"
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
2124

22-
- name: Test codestyle
23-
run: ./test.sh
25+
- name: Test codestyle
26+
run: ./test.sh
2427

25-
- name: Build
26-
run: ./build.sh
28+
- name: Build
29+
run: ./build.sh

.github/workflows/publish.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,20 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
13-
- name: Set up Python
14-
uses: actions/setup-python@v2
15-
with:
16-
python-version: '3.x'
17-
- name: Install dependencies
18-
run: python -m pip install --upgrade pip
19-
- name: Build package
20-
run: ./build.sh
21-
- name: Publish package
22-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
23-
with:
24-
user: bigclownlabs
25-
password: ${{ secrets.PYPI_API_TOKEN }}
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python 3.12
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.12"
19+
20+
- name: Install dependencies
21+
run: python -m pip install --upgrade pip
22+
- name: Build package
23+
run: ./build.sh
24+
- name: Publish package
25+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
26+
with:
27+
user: bigclownlabs
28+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)