This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
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
20c12d8
commit caf0b1b
Showing
7 changed files
with
80 additions
and
100 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,28 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- 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: Change wrapper permissions | ||
run: chmod +x ./gradlew | ||
- 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 }} | ||
action_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,34 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
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 Discord | ||
run: ./gradlew discord --stacktrace | ||
- 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: | ||
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }} | ||
modrinth_token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge_token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
github_token: ${{ secrets.GH_API_KEY }} | ||
discord_release_webhook: ${{ secrets.DISCORD_RELEASE_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.3 | ||
yarn_mappings=1.19.3+build.2 | ||
loader_version=0.14.11 | ||
fabric_api_version=0.68.1+1.19.3 | ||
|
||
mod_version=1.2.6 | ||
mod_version=1.2.7 | ||
maven_group=io.github.darkkronicle | ||
archives_base_name=AdvancedChatFilters | ||
|
||
malilib_version = 0.13.0 | ||
malilib_version = 0.14.0 | ||
org.gradle.jvmargs=-Xmx1G | ||
advancedchat_version=1.5.3-build1 | ||
owo_version=2.0.0 | ||
advancedchat_version=v1.5.9 | ||
owo_version=2.0.0 | ||
|
||
# publishing | ||
curseforge_slug=advancedchatfilters | ||
curseforge_id=539122 | ||
|
||
modrinth_slug=advancedchatfilters | ||
modrinth_id=c6fx2vMe | ||
|
||
# default_release_type can be stable, beta, or alpha | ||
default_release_type=stable | ||
project_name=AdvancedChatFilters | ||
project_url=https://modrinth.com/mod/advancedchatfilters | ||
project_logo=https://raw.githubusercontent.com/DarkKronicle/AdvancedChatFilters/main/src/main/resources/assets/advancedchatfilters/icon.png | ||
project_color=0x134bff | ||
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
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