From 749039a741d5d3d1b2fee3ce371ed5ebfb442032 Mon Sep 17 00:00:00 2001 From: uTen2c Date: Tue, 2 Jan 2024 12:13:58 +0900 Subject: [PATCH] Update tasks --- .github/workflows/publish.yml | 2 +- build.gradle | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 701bdf11..189a8601 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: uses: uTen2c/publish-to-github@v1.2 with: publish-path: ${{ github.workspace }}/build/repo - publish-task: fabric:publish + publish-task: cloneJcefAndPublish repo: ${{ secrets.REPO }} token-user: ${{ secrets.TOKEN_USER }} token: ${{ secrets.TOKEN }} diff --git a/build.gradle b/build.gradle index edcf083c..4f05a3d4 100644 --- a/build.gradle +++ b/build.gradle @@ -75,3 +75,11 @@ tasks.register('cleanAll', GradleBuild) { ':forge:clean', ] } + +tasks.register("cloneJcefAndPublish", GradleBuild) { + group = "publishing" + tasks = [ + ":cloneJcef", + ":fabric:publish" + ] +}