Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed Dec 19, 2022
1 parent f36e568 commit d93b3db
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d93b3db

Please sign in to comment.