-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from gabber235/develop
Quality Of Live Update
- Loading branch information
Showing
215 changed files
with
24,957 additions
and
17,267 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Build Development Jars and Publish | |
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
paths: | ||
- 'plugins/**' | ||
- 'adapters/**' | ||
|
@@ -19,6 +19,14 @@ jobs: | |
with: | ||
distribution: temurin | ||
java-version: 17 | ||
- name: Get version | ||
id: vars | ||
run: | | ||
version=$(cat version.txt) | ||
short_sha=$(echo $GITHUB_SHA | cut -c1-7) | ||
full_version="${version}-dev-${short_sha}" | ||
echo $full_version > version.txt | ||
echo "version=$full_version" >> $GITHUB_OUTPUT | ||
- name: Build Plugin | ||
uses: ./.github/actions/build-plugin | ||
- name: Build Basic Adapter | ||
|
@@ -53,3 +61,34 @@ jobs: | |
uses: ./.github/actions/build-adapter | ||
with: | ||
adapter: WorldGuardAdapter | ||
- name: Publish Development Jars | ||
uses: Kir-Antipov/[email protected] | ||
id: publish | ||
with: | ||
modrinth-id: "Vm7B3ymm" | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
modrinth-featured: false | ||
files: | | ||
plugin/build/libs/typewriter.jar | ||
adapters/**/build/libs/*.jar | ||
name: "Typewriter v${{ steps.vars.outputs.version }} Development Build" | ||
version: "${{ steps.vars.outputs.version }}" | ||
version-type: "beta" | ||
loaders: | | ||
paper | ||
purpur | ||
game-versions: | | ||
1.19.4 | ||
[1.20, 1.20.2] | ||
- name: Notify Discord | ||
uses: sarisia/actions-status-discord@v1 | ||
with: | ||
webhook: ${{ secrets.DISCORD_WEBHOOK }} | ||
nodetail: true | ||
title: Published Development Build | ||
description: | | ||
I have published a development build of Typewriter. | ||
Version: ${{ steps.vars.outputs.version }} | ||
[Download](https://modrinth.com/plugin/typewriter/version/${{ steps.publish.outputs.modrinth-version }}) | ||
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
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
Oops, something went wrong.