mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
update build.yml
This commit is contained in:
112
.github/workflows/build.yml
vendored
112
.github/workflows/build.yml
vendored
@@ -30,113 +30,17 @@ jobs:
|
|||||||
- name: Modify gradlew permissions
|
- name: Modify gradlew permissions
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
- name: Build plugin
|
- name: Build FancyHolograms
|
||||||
run: ./gradlew :plugins:fancyholograms:shadowJar
|
run: ./gradlew :plugins:fancyholograms:shadowJar
|
||||||
|
|
||||||
build-common:
|
- name: Build common
|
||||||
runs-on: ubuntu-latest
|
run: ./gradlew :libraries:common:jar
|
||||||
|
|
||||||
steps:
|
- name: Build jdb
|
||||||
- name: Checkout Repository
|
run: ./gradlew :libraries:jdb:jar
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Cache Gradle dependencies
|
- name: Build plugin-tests
|
||||||
uses: actions/cache@v4
|
run: ./gradlew :libraries:plugin-tests:jar
|
||||||
with:
|
|
||||||
path: ~/.gradle
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Build packets
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
distribution: 'adopt'
|
|
||||||
java-version: '21'
|
|
||||||
|
|
||||||
- name: Modify gradlew permissions
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
|
|
||||||
- name: Build plugin
|
|
||||||
run: ./gradlew :libraries:common:shadowJar
|
|
||||||
|
|
||||||
build-jdb:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Cache Gradle dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.gradle
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
distribution: 'adopt'
|
|
||||||
java-version: '21'
|
|
||||||
|
|
||||||
- name: Modify gradlew permissions
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
|
|
||||||
- name: Build plugin
|
|
||||||
run: ./gradlew :libraries:jdb:shadowJar
|
|
||||||
|
|
||||||
build-plugin-tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Cache Gradle dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.gradle
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
distribution: 'adopt'
|
|
||||||
java-version: '21'
|
|
||||||
|
|
||||||
- name: Modify gradlew permissions
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
|
|
||||||
- name: Build plugin
|
|
||||||
run: ./gradlew :libraries:plugin-tests:shadowJar
|
|
||||||
|
|
||||||
build-packets:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Cache Gradle dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.gradle
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
distribution: 'adopt'
|
|
||||||
java-version: '21'
|
|
||||||
|
|
||||||
- name: Modify gradlew permissions
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
|
|
||||||
- name: Build plugin
|
|
||||||
run: ./gradlew :libraries:packets:shadowJar
|
run: ./gradlew :libraries:packets:shadowJar
|
||||||
Reference in New Issue
Block a user