Skip to content

Commit c7e492e

Browse files
author
Antoine Mineau
committed
ci: update GA versions
1 parent ea44ad2 commit c7e492e

1 file changed

Lines changed: 22 additions & 23 deletions

File tree

.github/workflows/main.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Python API CLient
32

43
on: push
@@ -7,15 +6,15 @@ jobs:
76
test:
87
runs-on: self-hosted
98
steps:
10-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v3
1110
- name: Set up Python
12-
uses: actions/setup-python@v2
11+
uses: actions/setup-python@v4
1312
with:
1413
python-version: 3.9
1514
- name: Install requirements
1615
run: pip install tox twine -r requirements.txt -r test-requirements.txt
1716
# Open-api-generator is broken. To be updated when upgrading
18-
# - name: test
17+
# - name: test
1918
# run: tox
2019
- name: Check Readme syntax
2120
run: |
@@ -26,25 +25,25 @@ jobs:
2625
runs-on: self-hosted
2726
needs: test
2827
if: contains('
29-
refs/heads/master
30-
refs/heads/main'
28+
refs/heads/master
29+
refs/heads/main'
3130
, github.ref)
3231
concurrency: release
3332
steps:
34-
- uses: actions/checkout@v2
35-
with:
36-
fetch-depth: 0
37-
- name: Set up Python
38-
uses: actions/setup-python@v2
39-
with:
40-
python-version: 3.9
41-
- name: Install ci requirements
42-
run: pip install -r ci-requirements.txt
43-
- name: Release
44-
run: |
45-
git config --global user.email "infra@bimdata.io"
46-
git config --global user.name "GA"
47-
PYTHONPATH=$PWD semantic-release publish
48-
env:
49-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
33+
- uses: actions/checkout@v3
34+
with:
35+
fetch-depth: 0
36+
- name: Set up Python
37+
uses: actions/setup-python@v4
38+
with:
39+
python-version: 3.9
40+
- name: Install ci requirements
41+
run: pip install -r ci-requirements.txt
42+
- name: Release
43+
run: |
44+
git config --global user.email "infra@bimdata.io"
45+
git config --global user.name "GA"
46+
PYTHONPATH=$PWD semantic-release publish
47+
env:
48+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)