From cc06e2f8567a3f2d38deeb36ac1172a5750072e4 Mon Sep 17 00:00:00 2001 From: Shane McGovern Date: Tue, 11 Apr 2023 09:37:29 +0100 Subject: [PATCH] working-directory doesn't work with softprops/action-gh-release@v1 --- .github/workflows/build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 33cef78..13d358d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -39,10 +39,12 @@ jobs: if: github.ref == 'refs/heads/master' && github.event_name == 'push' uses: softprops/action-gh-release@v1 with: + # According to https://github.com/softprops/action-gh-release/issues/158 working-directory doesn't work, need to + # specify path files: | - html/* - pdf/* - specs.tar.gz + dev/html/* + dev/pdf/* + dev/specs.tar.gz tag_name: ${{ steps.vars.outputs.sha_short }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file