@@ -18,45 +18,46 @@ jobs:
18
18
fail-fast : false
19
19
matrix :
20
20
os : [ubuntu-latest, macos-latest, windows-latest]
21
- python-version : [ ' 3.8', '3.9', '3.10', "3.11" ]
21
+ python-version : [" 3.8", "3.12" ]
22
22
23
23
steps :
24
- - name : Checkout
25
- uses : actions/checkout@v2
24
+ - name : Checkout
25
+ uses : actions/checkout@v4
26
26
27
- - name : Base Setup
28
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
27
+ - name : Base Setup
28
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
29
29
30
- - name : Install dependencies
31
- run : python -m pip install -U jupyter_server
30
+ - name : Install dependencies
31
+ run : python -m pip install -U jupyter_server
32
32
33
- - name : Build the extension
34
- run : |
35
- python -m pip install .
36
- jupyter server extension list 2>&1 | grep -ie "jupyter_server_nbmodel.*OK"
33
+ - name : Build the extension
34
+ run : |
35
+ python -m pip install .
36
+ jupyter server extension list 2>&1 | grep -ie "jupyter_server_nbmodel.*OK"
37
37
38
- pip install build
39
- python -m build --sdist
40
- cp dist/*.tar.gz my_server_extension.tar.gz
41
- pip uninstall -y "jupyter_server_nbmodel" jupyter_server
42
- rm -rf "jupyter_server_nbmodel"
38
+ pip install build
39
+ python -m build --sdist
40
+ cp dist/*.tar.gz my_server_extension.tar.gz
41
+ pip uninstall -y "jupyter_server_nbmodel" jupyter_server
42
+ rm -rf "jupyter_server_nbmodel"
43
43
44
- - uses : actions/upload-artifact@v2
45
- with :
46
- name : my_server_extension-sdist
47
- path : my_server_extension.tar.gz
44
+ - uses : actions/upload-artifact@v4
45
+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
46
+ with :
47
+ name : my_server_extension-sdist
48
+ path : my_server_extension.tar.gz
48
49
49
50
check_links :
50
51
runs-on : ubuntu-latest
51
52
steps :
52
- - uses : actions/checkout@v2
53
+ - uses : actions/checkout@v4
53
54
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
54
55
- uses : jupyterlab/maintainer-tools/.github/actions/check-links@v1
55
56
56
57
test_lint :
57
58
runs-on : ubuntu-latest
58
59
steps :
59
- - uses : actions/checkout@v2
60
+ - uses : actions/checkout@v4
60
61
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
61
62
- name : Run Linters
62
63
run : |
65
66
check_release :
66
67
runs-on : ubuntu-latest
67
68
steps :
68
- - uses : actions/checkout@v2
69
+ - uses : actions/checkout@v4
69
70
- name : Base Setup
70
71
uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
71
72
- name : Install Dependencies
76
77
with :
77
78
token : ${{ secrets.GITHUB_TOKEN }}
78
79
- name : Upload Distributions
79
- uses : actions/upload-artifact@v2
80
+ uses : actions/upload-artifact@v4
80
81
with :
81
82
name : jupyter_server_nbmodel-releaser-dist-${{ github.run_number }}
82
83
path : .jupyter_releaser_checkout/dist
@@ -86,18 +87,18 @@ jobs:
86
87
runs-on : ubuntu-latest
87
88
88
89
steps :
89
- - name : Checkout
90
- uses : actions/checkout@v2
91
- - name : Install Python
92
- uses : actions/setup-python@v2
93
- with :
94
- python-version : ' 3.8'
95
- architecture : ' x64'
96
- - uses : actions/download-artifact@v2
97
- with :
98
- name : my_server_extension-sdist
99
- - name : Install and Test
100
- run : |
101
- pip install my_server_extension.tar.gz
102
- pip install jupyter_server
103
- jupyter server extension list 2>&1 | grep -ie "jupyter_server_nbmodel.*OK"
90
+ - name : Checkout
91
+ uses : actions/checkout@v4
92
+ - name : Install Python
93
+ uses : actions/setup-python@v5
94
+ with :
95
+ python-version : " 3.8"
96
+ architecture : " x64"
97
+ - uses : actions/download-artifact@v4
98
+ with :
99
+ name : my_server_extension-sdist
100
+ - name : Install and Test
101
+ run : |
102
+ pip install my_server_extension.tar.gz
103
+ pip install jupyter_server
104
+ jupyter server extension list 2>&1 | grep -ie "jupyter_server_nbmodel.*OK"
0 commit comments