diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2ea6b1..f6c7962 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,11 +67,14 @@ jobs: with: node-version: "lts/*" + - name: Yarn & Build UI + run: npm install -g yarn && yarn && yarn build + - name: Build with Gradle uses: gradle/actions/setup-gradle@v3 with: arguments: | - buildWithUI + build -Pversion=${{ needs.get-next-version.outputs.new_tag_version }} -PtimeStamp=${{ steps.time.outputs.time }} diff --git a/build.gradle.kts b/build.gradle.kts index 3db4026..b6e1168 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,8 +37,9 @@ dependencies { tasks { register("buildWithUI", Exec::class) { - commandLine("yarn") - commandLine("yarn", "build") + doFirst { + commandLine("yarn", "build") + } finalizedBy("build") }