forked from JayemCeekay/ArdaGrass
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1383853
commit b525349
Showing
9 changed files
with
244 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: Gradle Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Version' | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: 'temurin' | ||
|
||
- name: Initialize caches | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/loom-cache | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-build-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: Make gradlew executable | ||
run: chmod +x ./gradlew | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Artifacts | ||
path: build/libs/*.jar | ||
|
||
- name: Publish release | ||
uses: Kir-Antipov/mc-publish@v3.3 | ||
with: | ||
modrinth-id: m5T5xmUy | ||
modrinth-featured: false | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
curseforge-id: 1026394 | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
|
||
github-tag: ${{ inputs.version }} | ||
github-generate-changelog: false | ||
github-draft: false | ||
github-prerelease: false | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
files: | | ||
build/libs/!(*-@(sources)).jar | ||
build/libs/*-@(sources).jar | ||
name: FabricBetterGrass ${{ inputs.version }} | ||
version: ${{ inputs.version }} | ||
version-type: release | ||
changelog-file: CHANGELOG.md | ||
|
||
loaders: | | ||
fabric | ||
game-versions: | | ||
[1.21,) | ||
game-version-filter: releases | ||
dependencies: | | ||
fabric-api(required){modrinth:P7dR8mSH}{curseforge:306612}#(ignore:github) | ||
midnightlib(required){modrinth:codAaoxh}{curseforge:488090}#(ignore:github) | ||
retry-attempts: 2 | ||
retry-delay: 10000 | ||
fail-mode: fail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
**Full Changelog: [1.0.4+1.20.6...1.0.4+1.21](https://github.com/UltimatChamp/FabricBetterGrass/compare/1.0.4+1.20.6...1.0.4+1.21)** | ||
|
||
### 1.0.4+1.21 | ||
- Port to `1.21`! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.