Skip to content

Commit 923dc54

Browse files
committed
Update CI
1 parent 90416f5 commit 923dc54

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/build_doc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
- name: Install Python
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v4
1818
with:
19-
python-version: 3.8
19+
python-version: 3.9
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
2323
python -m pip install -r requirements.txt
2424
python -m pip install -r doc/requirements_doc.txt
25-
pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
25+
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
2626
- name: Install package
2727
run: |
2828
python -m pip install -e .

.github/workflows/deploy_pypi.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,24 @@ on:
55
tags:
66
- '*'
77

8-
98
jobs:
109
build:
1110

1211
runs-on: ubuntu-latest
1312

1413
steps:
1514
- name: Checkout code
16-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1716
- name: Install Python
18-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v4
1918
with:
20-
python-version: 3.8
19+
python-version: 3.9
2120
- name: Install dependencies
2221
run: |
2322
python -m pip install --upgrade pip
2423
python -m pip install -r requirements.txt
2524
python -m pip install -r doc/requirements_doc.txt
26-
pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
25+
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
2726
- name: Install package
2827
run: |
2928
python -m pip install -e .

0 commit comments

Comments
 (0)