We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a22ab7 + 58d1711 commit f5aa5ffCopy full SHA for f5aa5ff
.github/workflows/release.yml
@@ -30,6 +30,9 @@ jobs:
30
with:
31
java-version: '17'
32
distribution: 'corretto'
33
+
34
+ - name: Set project version
35
+ run: mvn -B versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false
36
37
- name: Build and package Maven project
38
run: mvn clean package
@@ -41,6 +44,15 @@ jobs:
41
44
env:
42
45
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
46
47
+ - name: Upload to Modrinth
48
+ uses: cloudnode-pro/[email protected]
49
+ with:
50
+ token: ${{ secrets.MODRINTH_TOKEN }}
51
+ project: 5Ce4fxJB
52
+ file: target/CloudnodeMSG-${{ github.event.release.tag_name }}.jar
53
+ changelog: ${{ github.event.release.body }}
54
+ loaders: paper
55
56
- name: Generate Javadoc
57
run: mvn -B javadoc:javadoc --file pom.xml
58
0 commit comments