mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-20 16:59:38 +00:00
up build
This commit is contained in:
1 parent
5c03fac058
commit
7ebdffeeff
22 files changed
+254
-649
No files matched your search
+227
-227
@@ -1,227 +1,227 @@
|
||||
# This workflow uses actions that are not certified by GitHub.
|
||||
# They are provided by a third-party and are governed by
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
|
||||
|
||||
name: AllMusic OneJar
|
||||
|
||||
on:
|
||||
push:
|
||||
# Sequence of patterns matched against refs/heads
|
||||
branches:
|
||||
- 'releases/**'
|
||||
# Sequence of patterns matched against refs/tags
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build_onejar_fabric_1_16_5:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd fabric_1_16_5 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_fabric_1_16_5"
|
||||
path: build/libs/
|
||||
build_onejar_fabric_1_20_1:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd fabric_1_20_1 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_fabric_1_20_1"
|
||||
path: build/libs/
|
||||
build_onejar_fabric_1_21:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd fabric_1_21 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_fabric_1_21"
|
||||
path: build/libs/
|
||||
build_onejar_fabric_1_21_6:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd fabric_1_21_6 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_fabric_1_21_6"
|
||||
path: build/libs/
|
||||
build_onejar_fabric_1_21_11:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd fabric_1_21_11 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_fabric_1_21_11"
|
||||
path: build/libs/
|
||||
build_onejar_neoforge_1_21:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd neoforge_1_21 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_neoforge_1_21"
|
||||
path: build/libs/
|
||||
build_onejar_neoforge_1_21_6:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd neoforge_1_21_6 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_neoforge_1_21_6"
|
||||
path: build/libs/
|
||||
build_onejar_neoforge_1_21_11:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd onejar && cd neoforge_1_21_11 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_onejar_neoforge_1_21_11"
|
||||
path: build/libs/
|
||||
## This workflow uses actions that are not certified by GitHub.
|
||||
## They are provided by a third-party and are governed by
|
||||
## separate terms of service, privacy policy, and support
|
||||
## documentation.
|
||||
## This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||
## For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
|
||||
#
|
||||
#name: AllMusic OneJar
|
||||
#
|
||||
#on:
|
||||
# push:
|
||||
# # Sequence of patterns matched against refs/heads
|
||||
# branches:
|
||||
# - 'releases/**'
|
||||
# # Sequence of patterns matched against refs/tags
|
||||
# tags:
|
||||
# - '*'
|
||||
#
|
||||
#jobs:
|
||||
# build_onejar_fabric_1_16_5:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 17
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '17'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd fabric_1_16_5 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_fabric_1_16_5"
|
||||
# path: build/libs/
|
||||
# build_onejar_fabric_1_20_1:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 21
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '21'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd fabric_1_20_1 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_fabric_1_20_1"
|
||||
# path: build/libs/
|
||||
# build_onejar_fabric_1_21:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 21
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '21'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd fabric_1_21 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_fabric_1_21"
|
||||
# path: build/libs/
|
||||
# build_onejar_fabric_1_21_6:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 21
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '21'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd fabric_1_21_6 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_fabric_1_21_6"
|
||||
# path: build/libs/
|
||||
# build_onejar_fabric_1_21_11:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 21
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '21'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd fabric_1_21_11 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_fabric_1_21_11"
|
||||
# path: build/libs/
|
||||
# build_onejar_neoforge_1_21:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 21
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '21'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd neoforge_1_21 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_neoforge_1_21"
|
||||
# path: build/libs/
|
||||
# build_onejar_neoforge_1_21_6:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 21
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '21'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd neoforge_1_21_6 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_neoforge_1_21_6"
|
||||
# path: build/libs/
|
||||
# build_onejar_neoforge_1_21_11:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 21
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '21'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd onejar && cd neoforge_1_21_11 && gradlew build
|
||||
# - name: update
|
||||
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_onejar_neoforge_1_21_11"
|
||||
# path: build/libs/
|
||||
@@ -1,10 +1,3 @@
|
||||
# This workflow uses actions that are not certified by GitHub.
|
||||
# They are provided by a third-party and are governed by
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
|
||||
|
||||
name: AllMusic Server
|
||||
|
||||
on:
|
||||
@@ -17,7 +10,7 @@ on:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build_folia:
|
||||
build_all:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -26,408 +19,20 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
- name: Set up JDK 25
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
java-version: '25'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd folia && gradlew shadowJar
|
||||
gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_folia"
|
||||
path: build/libs/
|
||||
build_paper:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd paper && gradlew shadowJar
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_paper"
|
||||
path: build/libs/
|
||||
build_velocity:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd velocity && gradlew shadowJar
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_velocity"
|
||||
path: build/libs/
|
||||
build_fabric_1_16_5:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd fabric_1_16_5 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_fabric_1_16_5"
|
||||
path: build/libs/
|
||||
build_fabric_1_20_1:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd fabric_1_20_1 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_fabric_1_20_1"
|
||||
path: build/libs/
|
||||
build_fabric_1_21:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd fabric_1_21 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_fabric_1_21"
|
||||
path: build/libs/
|
||||
build_fabric_1_21_6:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd fabric_1_21_6 && gradlew build
|
||||
- name: update
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_fabric_1_21_6"
|
||||
path: build/libs/
|
||||
build_fabric_1_21_11:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd fabric_1_21_11 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_fabric_1_21_11"
|
||||
path: build/libs/
|
||||
# build_fabric_26_1:
|
||||
# runs-on: windows-latest
|
||||
# permissions:
|
||||
# contents: read
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# submodules: 'true'
|
||||
# - name: Set up JDK 25
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '25'
|
||||
# distribution: 'temurin'
|
||||
# - name: Setup Gradle
|
||||
# uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
# - name: build
|
||||
# shell: cmd
|
||||
# run: |
|
||||
# link.cmd && cd fabric_26_1 && gradlew build
|
||||
# - name: update
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: "allmusic_server_fabric_26_1"
|
||||
# path: build/libs/
|
||||
build_forge_1_7_10:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd forge_1_7_10 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_forge_1_7_10"
|
||||
path: build/libs/
|
||||
build_forge_1_12_2:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd forge_1_12_2 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_forge_1_12_2"
|
||||
path: build/libs/
|
||||
build_forge_1_16_5:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd forge_1_16_5 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_forge_1_16_5"
|
||||
path: build/libs/
|
||||
build_forge_1_20_1:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd forge_1_20_1 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_forge_1_20_1"
|
||||
path: build/libs/
|
||||
build_neoforge_1_21:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd neoforge_1_21 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_neoforge_1_21"
|
||||
path: build/libs/
|
||||
build_neoforge_1_21_6:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd neoforge_1_21_6 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_neoforge_1_21_6"
|
||||
path: build/libs/
|
||||
build_neoforge_1_21_11:
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3 # v3.1.0
|
||||
- name: build
|
||||
shell: cmd
|
||||
run: |
|
||||
link.cmd && cd neoforge_1_21_11 && gradlew build
|
||||
- name: update
|
||||
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'debug')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "allmusic_server_neoforge_1_21_11"
|
||||
path: build/libs/
|
||||
name: "allmusic_server"
|
||||
path: build/
|
||||
+1
-1
Submodule client updated: 8e982c2b17...722adca710.
@@ -19,6 +19,6 @@ subprojects {
|
||||
|
||||
tasks {
|
||||
clean {
|
||||
delete("$projectDir/target")
|
||||
delete("$projectDir/../build")
|
||||
}
|
||||
}
|
||||
@@ -36,7 +36,7 @@ tasks {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
|
||||
archiveFileName.set("[fabric-1.16.5]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -39,7 +39,7 @@ tasks {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
|
||||
archiveFileName.set("[fabric-1.20.1]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -39,7 +39,7 @@ tasks {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
|
||||
archiveFileName.set("[fabric-1.21]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -39,7 +39,7 @@ tasks {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
|
||||
archiveFileName.set("[fabric-1.21.11]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -39,7 +39,7 @@ tasks {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
|
||||
archiveFileName.set("[fabric-1.21.6]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -31,7 +31,7 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[fabric-26.1]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
|
||||
relocate("net.kyori", "com.coloryr.allmusic.libs.net.kyori")
|
||||
relocate("com.google.gson", "com.coloryr.allmusic.libs.com.google.gson")
|
||||
|
||||
@@ -24,6 +24,6 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[folia]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[forge-1.12.2]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
|
||||
relocate("net.kyori", "com.coloryr.allmusic.libs.net.kyori")
|
||||
relocate("com.google.gson", "com.coloryr.allmusic.libs.com.google.gson")
|
||||
|
||||
@@ -43,7 +43,7 @@ tasks {
|
||||
remapJar {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
archiveFileName.set("[forge-1.16.5]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -43,7 +43,7 @@ tasks {
|
||||
remapJar {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
archiveFileName.set("[forge-1.20.1]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -31,7 +31,7 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[forge-1.7.10]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
|
||||
relocate("net.kyori", "com.coloryr.allmusic.libs.net.kyori")
|
||||
relocate("com.google.gson", "com.coloryr.allmusic.libs.com.google.gson")
|
||||
|
||||
@@ -45,7 +45,7 @@ tasks {
|
||||
remapJar {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
archiveFileName.set("[neoforge-1.21]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -45,7 +45,7 @@ tasks {
|
||||
remapJar {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
archiveFileName.set("[neoforge-1.21.11]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -45,7 +45,7 @@ tasks {
|
||||
remapJar {
|
||||
inputFile.set(shadowJar.get().archiveFile)
|
||||
archiveFileName.set("[neoforge-1.21.6]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
build {
|
||||
|
||||
@@ -43,13 +43,13 @@ tasks {
|
||||
// inputFile.set(shadowJar.get().archiveFile)
|
||||
|
||||
archiveFileName.set("[neoforge-26.1]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
// remapJar {
|
||||
// inputFile.set(shadowJar.get().archiveFile)
|
||||
// archiveFileName.set("[neoforge-1.21.11]AllMusic_Server-${project.version}.jar")
|
||||
// destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
// destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
// }
|
||||
|
||||
build {
|
||||
|
||||
@@ -24,6 +24,6 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[paper]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[spigot]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
|
||||
relocate("net.kyori", "com.coloryr.allmusic.libs.net.kyori")
|
||||
relocate("com.google.gson", "com.coloryr.allmusic.libs.com.google.gson")
|
||||
|
||||
@@ -19,6 +19,6 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[velocity]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/target"))
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user