From 0bba309634bd4b82b4b36668a68e3308442099ba Mon Sep 17 00:00:00 2001 From: Carlos Ballesteros Velasco Date: Sun, 16 Jun 2024 08:22:22 +0200 Subject: [PATCH] Update deploy-js.yml --- .github/workflows/deploy-js.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-js.yml b/.github/workflows/deploy-js.yml index 97002b7..945a488 100644 --- a/.github/workflows/deploy-js.yml +++ b/.github/workflows/deploy-js.yml @@ -30,6 +30,7 @@ jobs: - { uses: actions/checkout@v4 } - { name: Set up JDK, uses: actions/setup-java@v3, with: { distribution: "${{ env.JAVA_DISTRIBUTION }}", java-version: "${{ env.JAVA_VERSION }}" } } - { name: Prepare Gradle, uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 } # v3.1.0 - - { name: Buid JS bundle, run: ./gradlew jsBrowserProductionWebpack } - - { name: Upload artifact, uses: actions/upload-pages-artifact@v3, with: { path: 'build/dist/js/productionExecutable' } } + - { name: Buid JS bundle, run: ./gradlew browserReleaseEsbuild } + #- { name: Buid JS bundle, run: ./gradlew browserReleaseWebpack } # available after 6.0.0-beta3 + - { name: Upload artifact, uses: actions/upload-pages-artifact@v3, with: { path: 'build/www' } } - { name: Deploy 🚀 to GitHub Pages, id: deployment, uses: actions/deploy-pages@v4}