diff --git a/.github/workflows/build-121.yml b/.github/workflows/build-121.yml index ed3b166f6..9c3c46728 100644 --- a/.github/workflows/build-121.yml +++ b/.github/workflows/build-121.yml @@ -36,14 +36,16 @@ jobs: mv build/libs/leaf-paperclip-1.21-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21-mojmap.jar mv build/libs/leaf-paperclip-1.21-R0.1-SNAPSHOT-reobf.jar ./leaf-1.21-reobf.jar - - name: Publish API - if: github.event_name != 'pull_request' - run: | - ./gradlew :leaf-api:publish - ./gradlew publishDevBundlePublicationToLeafRepository -PpublishDevBundle=true - env: - ORG_GRADLE_PROJECT_leafUsername: ${{ secrets.REPO_USER }} - ORG_GRADLE_PROJECT_leafPassword: ${{ secrets.REPO_PASSWORD }} +# Publish manually instead of using workflow +# - name: Publish API +# if: github.event_name != 'pull_request' +# run: | +# echo "REPO_USER=${{ secrets.REPO_USER }}" >> $GITHUB_ENV +# export REPO_USER=${{ secrets.REPO_USER }} +# echo "REPO_PASSWORD=${{ secrets.REPO_PASSWORD }}" >> $GITHUB_ENV +# export REPO_PASSWORD=${{ secrets.REPO_PASSWORD }} +# ./gradlew :leaf-api:publish +# ./gradlew publishDevBundlePublicationToLeafRepository -PpublishDevBundle=true - name: Upload Leaf uses: actions/upload-artifact@main diff --git a/build.gradle.kts b/build.gradle.kts index ba1fc4147..f331ef4d0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -112,12 +112,6 @@ allprojects { credentials.username = System.getenv("REPO_USER") credentials.password = System.getenv("REPO_PASSWORD") } - - publications { - register("gpr") { - from(components["java"]) - } - } } } } \ No newline at end of file