Skip to content

Commit

Permalink
试图用野路子上传至TeaConMaven
Browse files Browse the repository at this point in the history
Took 40 minutes
  • Loading branch information
xkball committed Oct 9, 2024
1 parent 9a1def9 commit 5404094
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/ManualPublish.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Binary file added lib/XKDeco-NeoForge-1.21.1-NeoForge-1.0.0.jar
Binary file not shown.

0 comments on commit 5404094

Please sign in to comment.