diff --git a/.github/workflows/ManualPublish.yml b/.github/workflows/ManualPublish.yml new file mode 100644 index 00000000..d973d1b3 --- /dev/null +++ b/.github/workflows/ManualPublish.yml @@ -0,0 +1,22 @@ +name: XKDeco 1.21-NeoForge Manual Publish +on: + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + - name: Setup Java 21 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + - name: Run Publish + env: + ARCHIVE_ENDPOINT: ${{ secrets.TEACON_ARCHIVE_ENDPOINT }} + ARCHIVE_ACCESS_KEY: ${{ secrets.TEACON_ARCHIVE_ACCESS_KEY }} + ARCHIVE_SECRET_KEY: ${{ secrets.TEACON_ARCHIVE_SECRET_KEY }} + run: ./gradlew -Dorg.gradle.s3.endpoint=$ARCHIVE_ENDPOINT publishReleasePublicationToTeaconRepository diff --git a/build.gradle b/build.gradle index d062784e..3c0058d7 100644 --- a/build.gradle +++ b/build.gradle @@ -296,7 +296,8 @@ publishing { groupId = "org.teacon" artifactId = "XKDeco-NeoForge-1.21" - artifact jar + //artifact jar + artifact(file("lib/XKDeco-NeoForge-1.21.1-NeoForge-1.0.0.jar")) pom { name = 'XKDeco for Minecraft 1.21 and NeoForge' description = "XeKr's decoration blocks" diff --git a/lib/XKDeco-NeoForge-1.21.1-NeoForge-1.0.0.jar b/lib/XKDeco-NeoForge-1.21.1-NeoForge-1.0.0.jar new file mode 100644 index 00000000..5f8dd29c Binary files /dev/null and b/lib/XKDeco-NeoForge-1.21.1-NeoForge-1.0.0.jar differ