Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
ci: Simplify build result
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Apr 24, 2024
1 parent 7c53732 commit 28dfd7a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Gradle
uses: null2264/actions/gradle-setup@6712f98d592b126629afd27dc4870c93b53426b4
with:
java: 21

- name: Build LibreExpFix
run: ./gradlew build
- name: Move needed jar files
shell: zsh {0}
run: mkdir filtered && cp --parents versions/*/build/libs/*-(fabric|forge|neoforge).jar filtered/

- name: Archive build results
run: tar -I zstd -cf build.tar.zst versions/*/build/libs

- name: Upload build folder
uses: actions/upload-artifact@v3
with:
path: filtered/versions/*/build/libs/*.jar
path: build.tar.zst
if-no-files-found: error
retention-days: 3

0 comments on commit 28dfd7a

Please sign in to comment.