Skip to content

Commit edc5a75

Browse files
committed
fix branch name from main to master
1 parent 8008a6e commit edc5a75

File tree

1 file changed

+52
-53
lines changed

1 file changed

+52
-53
lines changed

.github/workflows/build.yml

Lines changed: 52 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build
22

33
on:
44
push:
5-
branches: main
5+
branches: master
66
pull_request:
77
branches: '*'
88

@@ -15,72 +15,71 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- name: Checkout
19-
uses: actions/checkout@v4
18+
- name: Checkout
19+
uses: actions/checkout@v4
2020

21-
- name: Base Setup
22-
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
21+
- name: Base Setup
22+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
2323

24-
- name: Install dependencies
25-
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
24+
- name: Install dependencies
25+
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
2626

27-
- name: Lint the extension
28-
run: |
29-
set -eux
30-
jlpm
31-
jlpm run lint:check
27+
- name: Lint the extension
28+
run: |
29+
set -eux
30+
jlpm
31+
jlpm run lint:check
3232
33-
- name: Build the extension
34-
run: |
35-
set -eux
36-
python -m pip install .[test]
33+
- name: Build the extension
34+
run: |
35+
set -eux
36+
python -m pip install .[test]
3737
38-
jupyter labextension list
39-
jupyter labextension list 2>&1 | grep -ie "jupyterlab-drawio.*OK"
40-
python -m jupyterlab.browser_check
38+
jupyter labextension list
39+
jupyter labextension list 2>&1 | grep -ie "jupyterlab-drawio.*OK"
40+
python -m jupyterlab.browser_check
4141
42-
- name: Package the extension
43-
run: |
44-
set -eux
42+
- name: Package the extension
43+
run: |
44+
set -eux
4545
46-
pip install build
47-
python -m build
48-
pip uninstall -y "jupyterlab_drawio" jupyterlab
46+
pip install build
47+
python -m build
48+
pip uninstall -y "jupyterlab_drawio" jupyterlab
4949
50-
- name: Upload extension packages
51-
uses: actions/upload-artifact@v4
52-
with:
53-
name: extension-artifacts
54-
path: dist/jupyterlab_drawio*
55-
if-no-files-found: error
50+
- name: Upload extension packages
51+
uses: actions/upload-artifact@v4
52+
with:
53+
name: extension-artifacts
54+
path: dist/jupyterlab_drawio*
55+
if-no-files-found: error
5656

5757
test_isolated:
5858
needs: build
5959
runs-on: ubuntu-latest
6060

6161
steps:
62-
- name: Install Python
63-
uses: actions/setup-python@v5
64-
with:
65-
python-version: '3.9'
66-
architecture: 'x64'
67-
- uses: actions/download-artifact@v4
68-
with:
69-
name: extension-artifacts
70-
- name: Install and Test
71-
run: |
72-
set -eux
73-
# Remove NodeJS, twice to take care of system and locally installed node versions.
74-
sudo rm -rf $(which node)
75-
sudo rm -rf $(which node)
76-
77-
pip install "jupyterlab>=4.0.0,<5" jupyterlab_drawio*.whl
78-
79-
80-
jupyter labextension list
81-
jupyter labextension list 2>&1 | grep -ie "jupyterlab-drawio.*OK"
82-
python -m jupyterlab.browser_check --no-browser-test
83-
62+
- name: Install Python
63+
uses: actions/setup-python@v5
64+
with:
65+
python-version: '3.9'
66+
architecture: 'x64'
67+
- uses: actions/download-artifact@v4
68+
with:
69+
name: extension-artifacts
70+
- name: Install and Test
71+
run: |
72+
set -eux
73+
# Remove NodeJS, twice to take care of system and locally installed node versions.
74+
sudo rm -rf $(which node)
75+
sudo rm -rf $(which node)
76+
77+
pip install "jupyterlab>=4.0.0,<5" jupyterlab_drawio*.whl
78+
79+
80+
jupyter labextension list
81+
jupyter labextension list 2>&1 | grep -ie "jupyterlab-drawio.*OK"
82+
python -m jupyterlab.browser_check --no-browser-test
8483
8584
check_links:
8685
name: Check Links

0 commit comments

Comments
 (0)