Skip to content

Commit

Permalink
[ci skip] Reduce workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed Oct 24, 2023
1 parent 7c1e327 commit 4ecaf97
Show file tree
Hide file tree
Showing 4 changed files with 1,011 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-1202.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,20 @@ jobs:
java-version: 17
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 "no-reply@github.com" && git config --global user.name "Github Actions"

- name: Apply patches
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 -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.20.2-R0.1-SNAPSHOT-reobf.jar ./leaf-1.20.2.jar
- name: Upload Leaf
uses: actions/upload-artifact@main
with:
name: Leaf
path: ./leaf-1.20.2.jar

- name: Release Leaf
if: github.ref_name == 'ver/1.20.2'
uses: marvinpinto/action-automatic-releases@master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

## Downloads

The Reobf JAR can be obtained in the [Actions](https://github.com/Winds-Studio/Leaf/actions) or [Releases](https://github.com/Winds-Studio/Leaf/releases)
The Reobf JAR can be obtained in the [Releases](https://github.com/Winds-Studio/Leaf/releases)


## Building
Expand Down
Loading

0 comments on commit 4ecaf97

Please sign in to comment.