Skip to content

Commit

Permalink
Merge pull request #33 from Coccocoahelper/patch-1
Browse files Browse the repository at this point in the history
Update dependencies, add auto artifact upload
  • Loading branch information
BluCobalt authored Feb 2, 2024
2 parents 994e757 + 5ea68c0 commit f01367a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@ jobs:
build:
strategy:
matrix:
java: [
"17" # Latest version
]
java: [ "17" ] # Latest version

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
- uses: actions/[email protected]
- uses: gradle/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: "temurin"
java-version: ${{ matrix.java }}

- name: Grant execute permission
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: modid
path: build/libs/*.jar
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "fabric-loom" version "1.4-SNAPSHOT"
id "legacy-looming" version "1.4-SNAPSHOT" // Version must be the same as fabric-loom's
id "fabric-loom" version "1.5-SNAPSHOT"
id "legacy-looming" version "1.5-SNAPSHOT" // Version must be the same as fabric-loom's
id "maven-publish"
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# More versions available at: https://grayray75.github.io/LegacyFabric-Versions/
minecraft_version = 1.8.9
yarn_build = 514
loader_version = 0.15.2
yarn_build = 535
loader_version = 0.15.6

# Legacy Fabric API
# Also available for mc 1.7.10, 1.8, 1.9.4, 1.10.2, 1.11.2 and 1.12.2
Expand Down

0 comments on commit f01367a

Please sign in to comment.