From 9e90318a46b89b3fe752593a74fdfee9ea742223 Mon Sep 17 00:00:00 2001 From: Apehum Date: Sat, 13 Apr 2024 00:32:16 +0800 Subject: [PATCH] ci: change prerelease branch --- .github/workflows/prerelease-publish.yml | 13 +++++++------ .github/workflows/publish.yml | 17 ++++++++++++----- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/prerelease-publish.yml b/.github/workflows/prerelease-publish.yml index b5e24a9..2bce799 100644 --- a/.github/workflows/prerelease-publish.yml +++ b/.github/workflows/prerelease-publish.yml @@ -3,7 +3,7 @@ name: Publish on: push: branches: - - main + - v1.1 jobs: build: @@ -15,13 +15,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'temurin' - server-id: github - settings-path: ${{ github.workspace }} + distribution: temurin + java-version: | + 8 + 16 + 17 - name: Build with Gradle uses: gradle/gradle-build-action@v2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bf65d32..a423e56 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,13 +15,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'temurin' - server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - settings-path: ${{ github.workspace }} # location for the settings.xml file + distribution: temurin + java-version: | + 8 + 16 + 17 - name: Build with Gradle uses: gradle/gradle-build-action@v2 @@ -39,11 +40,17 @@ jobs: loaders: | paper game-versions: | + 1.16.5 + 1.17.1 + 1.18.2 1.19.2 1.19.3 1.19.4 1.20 1.20.1 + 1.20.2 + 1.20.3 + 1.20.4 - name: Publish to GitHub uses: Apehum/mc-publish@v1.1