Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies, add auto artifact upload #33

Merged
merged 4 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
BluCobalt marked this conversation as resolved.
Show resolved Hide resolved
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
Loading