Skip to content

Commit df32db0

Browse files
committed
Update build workflow
1 parent 0d333ad commit df32db0

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616

1717
- name: Base Setup
1818
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
1919

2020
- name: Install dependencies
21-
run: python -m pip install -U jupyterlab check-manifest
21+
run: python -m pip install -U jupyterlab~=3.4
2222

2323
- name: Lint the extension
2424
run: |
@@ -38,14 +38,13 @@ jobs:
3838
- name: Package the extension
3939
run: |
4040
set -eux
41-
check-manifest -v
4241
4342
pip install build
4443
python -m build
4544
pip uninstall -y "jupyterlab_lego_boost" jupyterlab
4645
4746
- name: Upload extension packages
48-
uses: actions/upload-artifact@v2
47+
uses: actions/upload-artifact@v3
4948
with:
5049
name: extension-artifacts
5150
path: dist/jupyterlab_lego_boost*
@@ -57,13 +56,13 @@ jobs:
5756

5857
steps:
5958
- name: Checkout
60-
uses: actions/checkout@v2
59+
uses: actions/checkout@v3
6160
- name: Install Python
62-
uses: actions/setup-python@v2
61+
uses: actions/setup-python@v4
6362
with:
6463
python-version: '3.9'
6564
architecture: 'x64'
66-
- uses: actions/download-artifact@v2
65+
- uses: actions/download-artifact@v3
6766
with:
6867
name: extension-artifacts
6968
- name: Install and Test
@@ -73,8 +72,7 @@ jobs:
7372
sudo rm -rf $(which node)
7473
sudo rm -rf $(which node)
7574
76-
pip install jupyterlab jupyterlab_lego_boost*.whl
77-
75+
pip install jupyterlab~=3.4 jupyterlab_lego_boost*.whl
7876
7977
jupyter labextension list
8078
jupyter labextension list 2>&1 | grep -ie "jupyterlab-lego-boost.*OK"

0 commit comments

Comments
 (0)