@@ -13,51 +13,32 @@ permissions:
13
13
jobs :
14
14
check_release :
15
15
runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ group : [check_release, link_check]
19
+ python-version : ["3.9"]
20
+ node-version : ["14.x"]
21
+
16
22
steps :
17
23
- name : Checkout
18
- uses : actions/checkout@v2
19
- - name : Install Python
20
- uses : actions/setup-python@v2
21
- with :
22
- python-version : 3.9
23
- architecture : ' x64'
24
- - name : Install node
25
- uses : actions/setup-node@v2
26
- with :
27
- node-version : ' 14.x'
28
-
29
-
30
- - name : Get pip cache dir
31
- id : pip-cache
32
- run : |
33
- echo "::set-output name=dir::$(pip cache dir)"
34
- - name : Cache pip
35
- uses : actions/cache@v1
36
- with :
37
- path : ${{ steps.pip-cache.outputs.dir }}
38
- key : ${{ runner.os }}-pip-${{ hashFiles('package.json') }}
39
- restore-keys : |
40
- ${{ runner.os }}-pip-
41
- - name : Cache checked links
42
- uses : actions/cache@v2
43
- with :
44
- path : ~/.cache/pytest-link-check
45
- key : ${{ runner.os }}-linkcheck-${{ hashFiles('**/.md') }}-md-links
46
- restore-keys : |
47
- ${{ runner.os }}-linkcheck-
48
- - name : Upgrade packaging dependencies
49
- run : |
50
- pip install --upgrade pip setuptools wheel jupyter-packaging~=0.10 --user
24
+ uses : actions/checkout@v3
25
+ - name : Base Setup
26
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
51
27
- name : Install Dependencies
52
- run : |
53
- pip install .
28
+ run : pip install -e .
29
+
30
+ - name : Check Links
31
+ if : ${{ matrix.group == 'link_check' }}
32
+ uses : jupyter-server/jupyter_releaser/.github/actions/check-links@v1
33
+
54
34
- name : Check Release
55
- uses : jupyter-server/jupyter_releaser/.github/actions/check-release@v1
35
+ if : ${{ matrix.group == 'check_release' }}
36
+ uses : jupyter-server/jupyter_releaser/.github/actions/check-release@v2
56
37
with :
57
38
token : ${{ secrets.GITHUB_TOKEN }}
58
-
59
39
- name : Upload Distributions
60
- uses : actions/upload-artifact@v2
40
+ if : ${{ matrix.group == 'check_release' }}
41
+ uses : actions/upload-artifact@v3
61
42
with :
62
- name : jupyterlab_lego_boost -releaser-dist-${{ github.run_number }}
43
+ name : jupyter -releaser-dist-${{ github.run_number }}
63
44
path : .jupyter_releaser_checkout/dist
0 commit comments