Skip to content

Commit

Permalink
updated from mod template
Browse files Browse the repository at this point in the history
57be29b54db0cfa6f69f94acc640a33e2986f130
  • Loading branch information
Fallen-Breath committed Nov 29, 2024
1 parent 823b54e commit 61425eb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@ jobs:
name: build-artifacts
path: versions/*/build/libs/

- name: Collect mod jars
run: |
shopt -s extglob
mkdir mod-jars
for jar in versions/*/build/libs/!(*-@(dev|sources|shadow)).jar; do
cp -p "$jar" mod-jars/
done
ls -l mod-jars
# This is the artifact recommended for users to download
- name: Upload mod jars
uses: actions/upload-artifact@v4
with:
name: mod-jars
path: mod-jars/*.jar

- name: Publish with gradle
if: inputs.release || github.ref == 'refs/heads/dev'
run: |
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

// https://github.com/ReplayMod/preprocessor
// https://github.com/Fallen-Breath/preprocessor
id 'com.replaymod.preprocess' version '8de9ff8bf3'
id 'com.replaymod.preprocess' version '9d21b334a7'

// https://github.com/Fallen-Breath/yamlang
id 'me.fallenbreath.yamlang' version '1.4.0' apply false
Expand Down

0 comments on commit 61425eb

Please sign in to comment.