diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11e37f1..4e8fdd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,18 +5,17 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + steps: - name: Checkout sources uses: actions/checkout@v3 - name: Validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - - name: Set up JDK + - name: Setup JDK uses: actions/setup-java@v3 with: distribution: "temurin" java-version: "17" cache: "gradle" - - name: Grant execute permission for gradlew - run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew build + run: ./gradlew build --no-daemon diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 38739c3..153752b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,16 +5,15 @@ on: [workflow_dispatch] jobs: build: runs-on: ubuntu-latest + steps: - name: Checkout sources uses: actions/checkout@v3 - - name: Set up JDK + - name: Setup JDK uses: actions/setup-java@v3 with: distribution: "temurin" java-version: "17" - - name: Grant execute permission for gradlew - run: chmod +x gradlew - name: Build and publish with Gradle run: ./gradlew build modrinth curseforge --stacktrace env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 81d8ec0..8109be5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## v3.1.0 -* Added Chinese Traditional translation ([#13](https://github.com/Grayray75/FPS-Display/pull/13)). +* Added Chinese Traditional translation. ([#13](https://github.com/Grayray75/FPS-Display/pull/13)) * Backport v3 to older Minecraft versions. ## v3.0.1 diff --git a/README.md b/README.md index 6cdb257..d4a3c34 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # FPS-Display A simple **Fabric** mod that displays the current FPS on screen. -## 🖼️ Showcase: +## 🖼️ Showcase ![preview](./media/showcase/fps-counter.png) @@ -12,14 +12,16 @@ A simple **Fabric** mod that displays the current FPS on screen. -## 📥 Downloads: +## 📥 Downloads + You can download this mod from: * [Modrinth](https://modrinth.com/mod/fpsdisplay) * [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fpsdisplay) -## 🎲 Supported versions: -Minecraft version: | Support: ------------------- | -------- +## 🎲 Supported versions + +Minecraft: | Support: +---------- | -------- 1.20.x | ✔️ Active 1.19.4 | ✔️ Active 1.19.3 | ✔️ Active @@ -28,4 +30,5 @@ Minecraft version: | Support: 1.16.x | ✔️ Active 1.15.x | ✔️ Active 1.14.x | ✔️ Active +1.12.2 | Planned 1.8.9 | ✔️ Active diff --git a/build.gradle b/build.gradle index df86a35..53fba46 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "fabric-loom" version "1.3-SNAPSHOT" - id 'io.github.juuxel.loom-vineflower' version "1.11.0" + id "io.github.juuxel.loom-vineflower" version "1.11.0" id "com.modrinth.minotaur" version "2.+" id "com.matthewprenger.cursegradle" version "1.4.0" id "maven-publish" diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/settings.gradle b/settings.gradle index 0618bfe..f1fa6e6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,10 +1,10 @@ pluginManagement { repositories { maven { - name = "Fabric" + name = "FabricMC" url = "https://maven.fabricmc.net/" } - gradlePluginPortal() mavenCentral() + gradlePluginPortal() } }