File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments