Skip to content

Commit 308e1f7

Browse files
authored
Merge branch 'main' into 4-add-mail-functionality
2 parents 6429e0f + 045fcf9 commit 308e1f7

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,24 @@ jobs:
4444
run: mvn clean package
4545

4646
- name: Upload to release
47-
uses: JasonEtco/upload-to-release@master
47+
uses: cloudnode-pro/release-upload-[email protected]
4848
with:
49-
args: target/CloudnodeMSG-${{ steps.version.outputs.VERSION }}.jar application/java-archive
50-
env:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
gh-token: ${{ github.token }}
50+
files: target/CloudnodeMSG-${{ steps.version.outputs.VERSION }}.jar; type=application/java-archive
5251

5352
- name: Upload to Modrinth
54-
uses: cloudnode-pro/modrinth-publish@1.0.0
53+
uses: cloudnode-pro/modrinth-publish@v2
5554
with:
5655
token: ${{ secrets.MODRINTH_TOKEN }}
57-
project: 5Ce4fxJB
58-
file: target/CloudnodeMSG-${{ steps.version.outputs.VERSION }}.jar
56+
project: ${{ github.event.repository.custom_properties.modrinth_id }}
57+
name: ${{ github.event.release.name == github.event.release.tag_name && format('BankAccounts {0}', github.event.release.name) || github.event.release.name }}
58+
version: ${{ github.event.release.tag_name }}
5959
changelog: ${{ github.event.release.body }}
6060
loaders: paper
61+
game-versions: |-
62+
1.20.x
63+
1.21.x
64+
files: target/CloudnodeMSG-${{ steps.version.outputs.VERSION }}.jar
6165

6266
- name: Generate Javadoc
6367
run: mvn -B javadoc:javadoc --file pom.xml

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<plugin>
4747
<groupId>org.apache.maven.plugins</groupId>
4848
<artifactId>maven-javadoc-plugin</artifactId>
49-
<version>3.11.2</version>
49+
<version>3.11.3</version>
5050
<configuration>
5151
<links>
5252
<link>https://jd.papermc.io/paper/1.20/</link>

0 commit comments

Comments
 (0)