From ad216285e32f9533be3f9dca7b613ff36daf0b9c Mon Sep 17 00:00:00 2001 From: Olya Gupalo Date: Fri, 27 Sep 2024 18:03:33 +0300 Subject: [PATCH] Modify github/workflows/github-actions-spring-boot-webserver.yml --- .../workflows/github-actions-spring-boot-webserver.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/github-actions-spring-boot-webserver.yml b/.github/workflows/github-actions-spring-boot-webserver.yml index 915ec9a..632d840 100644 --- a/.github/workflows/github-actions-spring-boot-webserver.yml +++ b/.github/workflows/github-actions-spring-boot-webserver.yml @@ -19,6 +19,12 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Run Spring Boot Web Server run: | + # Prepapre static resources + cd src/main/resources/ + unzip static.zip + cd ../../.. + # + # Build JAR (Debian Slim) ./build-jar.sh # @@ -59,6 +65,9 @@ jobs: # Compare file sizes ls -lh target/webserver* docker images webserver + + # Restore defaults + git clean -fd . - name: Archive production artifacts uses: actions/upload-artifact@v4 with: