From 710c79e8ed2c75c919955b8fdbaf50b72796daac Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:06:23 +0300 Subject: [PATCH] workflow: Iron out some bugs --- .github/workflows/update_libgui.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_libgui.yml b/.github/workflows/update_libgui.yml index 813cd97..10aa375 100644 --- a/.github/workflows/update_libgui.yml +++ b/.github/workflows/update_libgui.yml @@ -37,12 +37,14 @@ jobs: - name: Move docs run: | rm -rf docs/libgui/* - cp -R libgui/build/docs/javadoc/ docs/libgui + cp -R libgui/build/docs/javadoc/* docs/libgui - name: Commit docs run: | cd docs git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add libgui - git commit --allow-empty -m "LibGui ${{steps.find-latest.outputs.latest-name}}" + git commit --allow-empty -m "LibGui $LATEST_NAME" git push + env: + LATEST_NAME: ${{steps.find-latest.outputs.latest-name}}