File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : build
2-
32on :
43 push :
54 branches :
65 - master
76 tags :
87 - ' *'
9-
108jobs :
119 lint :
1210 runs-on : ubuntu-latest
1311 steps :
1412 - name : Checkout repository
15- uses : actions/checkout@v2
16-
13+ uses : actions/checkout@v4
1714 - name : Set up Python
18- uses : actions/setup-python@v2
15+ uses : actions/setup-python@v5
1916 with :
2017 python-version : 3.8
21-
2218 - name : Install dependencies
2319 run : |
2420 python -m pip install -U pylint
25-
2621 - name : Install
2722 run : |
2823 python -m pip install .
29-
30- # Add your linting step here if needed
31-
3224 build_sdist :
3325 needs :
3426 - lint
3527 name : Build source distribution
3628 runs-on : ubuntu-latest
3729 steps :
3830 - name : Checkout repository
39- uses : actions/checkout@v2
40-
31+ uses : actions/checkout@v4
4132 - name : Set up Python
42- uses : actions/setup-python@v2
33+ uses : actions/setup-python@v5
4334 with :
4435 python-version : 3.8
45-
4636 - name : Build sdist
4737 run : python setup.py sdist
48-
4938 - name : Upload artifact
50- uses : actions/upload-artifact@v2
39+ uses : actions/upload-artifact@v4
5140 with :
5241 name : dist
5342 path : dist/*.tar.gz
54-
5543 deploy :
5644 needs :
5745 - build_sdist
5846 runs-on : ubuntu-latest
5947 steps :
6048 - name : Checkout repository
61- uses : actions/checkout@v2
62-
49+ uses : actions/checkout@v4
6350 - name : Download build artifact
64- uses : actions/download-artifact@v2
51+ uses : actions/download-artifact@v4
6552 with :
6653 name : dist
6754 path : dist
68-
6955 - name : Publish to PyPI
7056 uses : pypa/gh-action-pypi-publish@release/v1
7157 with :
Original file line number Diff line number Diff line change 11name : Deploy to GitHub Pages
2-
32on :
43 push :
54 branches :
65 - master
7-
86jobs :
97 deploy :
108 name : Deploy to GitHub Pages
119 runs-on : ubuntu-latest
1210 steps :
13- - uses : actions/checkout@v2
14-
11+ - uses : actions/checkout@v4
12+
1513 - name : Set up Node.js
16- uses : actions/setup-node@v2
14+ uses : actions/setup-node@v4
1715 with :
18- node-version : ' 16.14 '
16+ node-version : ' 20 '
1917
2018 - name : Cache Yarn packages
21- uses : actions/cache@v2
19+ uses : actions/cache@v4
2220 with :
2321 path : ~/.yarn
2422 key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -27,13 +25,12 @@ jobs:
2725
2826 - name : Install dependencies
2927 run : yarn install --frozen-lockfile
30- working-directory : ./docs # Change this to the directory containing package.json
28+ working-directory : ./docs
3129
3230 - name : Build website
3331 run : yarn build
34- working-directory : ./docs # Change this to the directory containing package.json
32+ working-directory : ./docs
3533
36- # Popular action to deploy to GitHub Pages:
3734 - name : Deploy to GitHub Pages
3835 uses : peaceiris/actions-gh-pages@v3
3936 with :
You can’t perform that action at this time.
0 commit comments