Skip to content

Commit

Permalink
Fix metadata and update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ramidzkh committed Dec 17, 2023
1 parent 5ec2385 commit 3d2c902
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Build
run: ./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fabrishot
path: build/libs/
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ System.getenv("CURSEFORGE")?.with { String key ->
releaseType = "release"
}

addGameVersion("1.19.2")
addGameVersion("1.19.1")
addGameVersion("1.19")
addGameVersion("1.20.1")
addGameVersion("Fabric")

mainArtifact(remapJar) {
Expand Down Expand Up @@ -111,7 +109,7 @@ modrinth {
}

uploadFile.set(remapJar)
gameVersions.addAll(["1.19.2", "1.19.1", "1.19"])
gameVersions.addAll(["1.20.1"])

dependencies {
required.project("fabric-api")
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"name": "Fabrishot",
"description": "Take high resolution screenshots because why not",
"depends": {
"minecraft": ">=1.20.1",
"minecraft": "1.20.1",
"fabric-lifecycle-events-v1": "*",
"fabric-key-binding-api-v1": "*"
},
Expand Down

0 comments on commit 3d2c902

Please sign in to comment.