Skip to content

Commit 5b5386c

Browse files
committed
ci: fix entering documentation folder
Checkout LTP folder inside the current directory without entering into a new one. Also, move to checkout script v1 in order to align with github workflow. Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
1 parent 1472f4f commit 5b5386c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci-sphinx-doc.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout LTP
30-
uses: actions/checkout@v2
31-
with:
32-
path: ltp
30+
uses: actions/checkout@v1
3331

3432
- name: Install sphinx and autotools
3533
run: |
@@ -52,7 +50,6 @@ jobs:
5250
5351
- name: Run configure
5452
run: |
55-
cd "$GITHUB_WORKSPACE/ltp/"
5653
make autotools && ./configure
5754
5855
- name: Send results to Patchwork
@@ -68,13 +65,13 @@ jobs:
6865
6966
- name: Install sphinx dependencies
7067
run: |
71-
cd "$GITHUB_WORKSPACE/ltp/doc/"
68+
cd "doc/"
7269
python3 -m virtualenv .venv
7370
. .venv/bin/activate
7471
pip install -r requirements.txt
7572
7673
- name: Build doc
7774
run: |
78-
cd "$GITHUB_WORKSPACE/ltp/doc/"
75+
cd "doc/"
7976
. .venv/bin/activate
8077
make

0 commit comments

Comments
 (0)