Skip to content

Commit 21d4ab9

Browse files
committed
Updated deprecated gh-actions
Now using setup-python@v5 checkout@v4 upload-artifact@v4 download-artifact@v4
1 parent 9d389b5 commit 21d4ab9

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build-wheels.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: "Checkout repo"
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: "Build wheels"
2323
uses: pypa/cibuildwheel@v2.8.1
@@ -37,7 +37,7 @@ jobs:
3737
# CIBW_TEST_COMMAND: "pytest {project}/tests"
3838

3939
- name: "Upload wheel as artifact"
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: artifact-${{ matrix.os }}-wheel
4343
path: "./**/*.whl"
@@ -46,11 +46,11 @@ jobs:
4646
name: Make source distribution
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
5050

5151
- run: pipx run build --sdist
5252

53-
- uses: actions/upload-artifact@v3
53+
- uses: actions/upload-artifact@v4
5454
with:
5555
name: artifact-source-dist
5656
path: "./**/dist/*.tar.gz"
@@ -64,7 +64,7 @@ jobs:
6464
if: github.event_name == 'release' && github.event.action == 'published'
6565
steps:
6666
- name: Download all artifacts
67-
uses: actions/download-artifact@v3
67+
uses: actions/download-artifact@v4
6868

6969
- name: Copy artifacts to dist/ folder
7070
run: |

.github/workflows/documentation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
docs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-python@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
1616
- name: Install cmdstanpy
1717
run: |
1818
python -m pip install --upgrade pip wheel

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
strategy:
2323
matrix:
2424
os: [ubuntu-latest] # , macos-latest, windows-latest
25-
python-version: ["3.10"] # 3.7, 3.8, 3.9,
25+
python-version: ["3.10", "3.11"] # 3.7, 3.8, 3.9,
2626
env:
2727
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2828
steps:
2929
- name: Check out github
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v2
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535
- name: Install cmdstanpy

0 commit comments

Comments
 (0)