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:
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@@ -6,7 +6,7 @@ on:
|
|||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
jobs:
|
jobs:
|
||||||
build-fancyholograms:
|
build-plugins:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -33,6 +33,30 @@ jobs:
|
|||||||
- name: Build FancyHolograms
|
- name: Build FancyHolograms
|
||||||
run: ./gradlew :plugins:fancyholograms:shadowJar
|
run: ./gradlew :plugins:fancyholograms:shadowJar
|
||||||
|
|
||||||
|
build-libraries:
|
||||||
|
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 common
|
- name: Build common
|
||||||
run: ./gradlew :libraries:common:jar
|
run: ./gradlew :libraries:common:jar
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user