From daf03e536a7f668c2c98fca667f8b7f44e457862 Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Tue, 17 Dec 2024 03:00:55 -0500 Subject: [PATCH] Build --- .github/workflows/build-1211.yml | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build-1211.yml b/.github/workflows/build-1211.yml index 4bc19d8f0..2f542f76c 100644 --- a/.github/workflows/build-1211.yml +++ b/.github/workflows/build-1211.yml @@ -1,8 +1,8 @@ -name: Build Leaf 1.21.1 +name: Build Leaf 1.21.1 - Feature on: push: - branches: [ "ver/1.21.1" ] + branches: [ "feat/fakeplayer" ] pull_request: branches: [ "ver/1.21.1" ] @@ -36,35 +36,8 @@ jobs: mv build/libs/leaf-paperclip-1.21.1-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21.1-mojmap.jar mv build/libs/leaf-paperclip-1.21.1-R0.1-SNAPSHOT-reobf.jar ./leaf-1.21.1-reobf.jar - - name: Publish API - if: github.event_name != 'pull_request' - continue-on-error: true - 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 with: name: Leaf 1.21.1 path: ./leaf-1.21.1-*.jar - - - name: Rename Paperclip Jar - run: | - mv ./leaf-1.21.1-mojmap.jar ./leaf-1.21.1.jar - - # TODO: marvinpinto/action-automatic-releases is archived, need to find new one - # Notes: create releases every time, similar changelogs with this, all commits for changelogs - - name: Release Leaf - if: github.event_name != 'pull_request' - uses: marvinpinto/action-automatic-releases@master - with: - title: "Leaf 1.21.1" - automatic_release_tag: "ver-1.21.1" - repo_token: "${{ secrets.GITHUB_TOKEN }}" - files: "./leaf-1.21.1.jar" - prerelease: false