This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
generated from DarkKronicle/AdvancedChatModuleTemplate
-
Notifications
You must be signed in to change notification settings - Fork 10
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
12b4f24
commit bf70425
Showing
5 changed files
with
82 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
- name: Upload to Discord | ||
run: ./gradlew discord --stacktrace | ||
if: | | ||
!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.pull_request.title, '[ci skip]') | ||
env: | ||
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }} |
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,34 @@ | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
previousVersion: | ||
description: 'Previous Version (Do not include v prefix, must be same as the last version tag! Example: 1.4.1)' | ||
required: true | ||
version: | ||
description: 'Version (Do not include v prefix! Example: 1.4.2)' | ||
required: true | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Fetch tags | ||
run: git fetch --tags | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
- name: Upload to websites | ||
run: ./gradlew publishThirdParty --stacktrace -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}" | ||
if: | | ||
!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.pull_request.title, '[ci skip]') | ||
env: | ||
modrinth_token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge_token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
github_token: ${{ secrets.GH_API_KEY }} | ||
discord_release_webhook: ${{ secrets.DISCORD_ANNOUNCEMENT_WEBHOOK }} | ||
- name: Capture build artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Artifacts | ||
path: build/libs/ |
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 |
---|---|---|
@@ -1,13 +1,30 @@ | ||
minecraft_version=1.19 | ||
yarn_mappings=1.19+build.4 | ||
loader_version=0.14.8 | ||
fabric_api_version=0.57.0+1.19 | ||
minecraft_version=1.19.2 | ||
yarn_mappings=1.19.2+build.1 | ||
loader_version=0.14.9 | ||
fabric_api_version=0.59.0+1.19.2 | ||
|
||
|
||
mod_version=1.1.5 | ||
mod_version=1.1.6 | ||
maven_group=io.github.darkkronicle | ||
archives_base_name=AdvancedChatBox | ||
malilib_version = 0.13.0 | ||
advancedchat_version=1.5.3-build1 | ||
advancedchat_version=1.5.7 | ||
mxparser_version=4.4.2 | ||
org.gradle.jvmargs=-Xmx1G | ||
org.gradle.jvmargs=-Xmx1G | ||
|
||
# Uploading data | ||
curseforge_slug=advancedchatbox | ||
curseforge_id=541714 | ||
|
||
modrinth_slug=advancedchatbox | ||
modrinth_id=8WeCY8Xd | ||
|
||
# default_release_type can be stable, beta, or alpha | ||
default_release_type=stable | ||
project_name=AdvancedChatBox | ||
project_url=https://modrinth.com/mod/advancedchatbox | ||
project_logo=https://raw.githubusercontent.com/DarkKronicle/AdvancedChatBox/main/src/main/resources/assets/advancedchatbox/icon.png | ||
project_color=0x4480ad | ||
changelog_hide_unimportant_commits=true | ||
changelog_max_commit_search=200 | ||
discord_webhook_changelog_line_limit=10 |
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