-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f36e568
commit d93b3db
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,19 +6,21 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: gradle/wrapper-validation-action@master | ||
- uses: actions/setup-java@v3 | ||
- name: Set up JDK | ||
uses: graalvm/setup-graalvm@v1 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
version: "latest" | ||
java-version: 19 | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
cache: gradle | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Configure Git | ||
run: git config --global user.email "[email protected]" && git config --global user.name "Github Actions" | ||
- name: Apply patches | ||
run: ./gradlew applyPatches --stacktrace | ||
run: ./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" applyPatches --stacktrace --no-daemon | ||
- name: Create ReobfPaperclipJar | ||
run: ./gradlew createReobfPaperclipJar --stacktrace | ||
run: ./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" createReobfPaperclipJar --stacktrace --no-daemon | ||
- name: Rename Paperclip Jar | ||
run: mv build/libs/leaf-paperclip-1.19.2-R0.1-SNAPSHOT-reobf.jar ./leaf-1.19.2.jar | ||
- name: Upload Leaf | ||
|