Merge branch 'master' of https://github.com/Tofaa2/EntityLib
This commit is contained in:
commit
3b3e7b3ff0
2 changed files with 8 additions and 24 deletions
|
@ -1,8 +1,10 @@
|
||||||
name: Gradle Package
|
name: Build & Upload
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [ created ]
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -12,15 +14,12 @@ jobs:
|
||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up JDK 21
|
- name: Set up JDK 21
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
distribution: 'adopt'
|
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
|
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: chmod +x gradlew && ./gradlew build
|
run: chmod +x gradlew && ./gradlew build
|
15
jitpack.yml
15
jitpack.yml
|
@ -1,15 +0,0 @@
|
||||||
jdk:
|
|
||||||
- temurin-21
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- name: build
|
|
||||||
- name: publish
|
|
||||||
depends_on: build
|
|
||||||
|
|
||||||
build:
|
|
||||||
script:
|
|
||||||
- ./gradlew build
|
|
||||||
|
|
||||||
publish:
|
|
||||||
script:
|
|
||||||
- ./gradlew publishToMavenLocal
|
|
Loading…
Reference in a new issue