From f97fc668bcfe8a1f57c628f14aa5bd31180c8870 Mon Sep 17 00:00:00 2001 From: soywiz Date: Fri, 14 Jun 2024 21:11:13 +0200 Subject: [PATCH] Use browserReleaseEsbuild task --- .github/workflows/deploy-js.yml | 5 +++-- build.gradle.kts | 1 - 2 files changed, 3 insertions(+), 3 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} diff --git a/build.gradle.kts b/build.gradle.kts index 7bcc84b..ba09fe1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,4 +31,3 @@ dependencies { add("commonMainApi", project(":deps")) //add("commonMainApi", project(":korge-dragonbones")) } -