From 360ab76f27d2d2fb25b9b1a99040b2a270840133 Mon Sep 17 00:00:00 2001 From: M2ke4U <79621885+MrHua269@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:13:56 +0800 Subject: [PATCH] Update build_1.20.6.yml --- .github/workflows/build_1.20.6.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_1.20.6.yml b/.github/workflows/build_1.20.6.yml index 223a50f..38657b5 100644 --- a/.github/workflows/build_1.20.6.yml +++ b/.github/workflows/build_1.20.6.yml @@ -36,7 +36,10 @@ jobs: - name: CreateJar run: gradle createMojmapBundlerJar createMojmapPaperclipJar - name: Publish to repo - run: sh scripts/PushToMaven.sh + run: | + export MAVEN_REPO_USER=${{ secrets.MAVEN_REPO_USER }} + export MAVEN_REPO_PASSWORD=${{ secrets.MAVEN_REPO_PASSWORD }} + ./gradlew publish -PpublishDevBundle=true - name: SetENV run: sh scripts/SetENV.sh - name: Upload Artifact