Skip to content

Commit

Permalink
update from mod template
Browse files Browse the repository at this point in the history
75b58511ee49f77b6eaa6674d3266bcacb6f8be9
  • Loading branch information
Fallen-Breath committed Dec 5, 2024
1 parent 79fbe2b commit 0f2a4f7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,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
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ plugins {
id 'maven-publish'
id 'com.github.hierynomus.license' version '0.16.1' apply false
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id 'fabric-loom' version '1.8-SNAPSHOT' apply false
id 'fabric-loom' version '1.9-SNAPSHOT' apply false

// 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
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 0f2a4f7

Please sign in to comment.