From 62a21fade23cf20756d37900421952297bb0c268 Mon Sep 17 00:00:00 2001 From: James Ball Date: Sat, 3 Sep 2022 19:32:21 +0100 Subject: [PATCH] Fix directory for wiki + documentation --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e53160f..956dcd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,7 +125,8 @@ jobs: sudo npm install -g github-wikito-converter cd wiki ls | grep -xv "User-Documentation.md" | parallel rm - gwtc -v -f pdf -t "osci-render documentation" --logo-img "osci-render/osci.png" . + cd .. + gwtc -v -f pdf -t "osci-render documentation" --logo-img "osci-render/osci.png" wiki cd ../osci-render version=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout) echo "VERSION=$version" >> $GITHUB_ENV @@ -133,7 +134,7 @@ jobs: uses: softprops/action-gh-release@v1 with: tag_name: v${{ env.VERSION }} - files: wiki/documentation.pdf + files: documentation.pdf env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: jameshball/osci-render