From a7848104246cab57265e6d4396d2f1b2df43eed4 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 22 May 2024 22:04:00 +0200 Subject: [PATCH] Adjusted paths and updated checkout version --- .github/workflows/editors-draft.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/editors-draft.yml b/.github/workflows/editors-draft.yml index f8be95b7b..89c12331c 100644 --- a/.github/workflows/editors-draft.yml +++ b/.github/workflows/editors-draft.yml @@ -58,9 +58,9 @@ jobs: sourcepath: /html-aam/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ matrix.repo }} path: ${{ matrix.repo }} @@ -74,10 +74,12 @@ jobs: - name: Build respec run: | - npx respec --src ./${{ matrix.repo.sourcepath }}/index.html --out ${{ matrix.repo }}/index.html + npm install respec@latest + npx respec --src ${{ matrix.repo.sourcepath }}/index.html --out ${{ matrix.repo }}/index.html - name: Copy files run: | mkdir ${{ matrix.repo }}/common + cd /common/ cp -R README.md ${{ matrix.repo }}/common cp -R acknowledgements.html ${{ matrix.repo }}/common cp -R biblio.js ${{ matrix.repo }}/common