File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,13 @@ jobs:
6060 with :
6161 name : Artifacts-${{ matrix.minecraft_version }}
6262 path : build/libs/
63- - name : Publish to CurseForge
63+ - name : Publish to CurseForge and GitHub Release
6464 uses : Kir-Antipov/mc-publish@v3.3
6565 if : startsWith(github.ref, 'refs/tags/')
6666 with :
6767 curseforge-id : 1286702
6868 curseforge-token : ${{ secrets.CURSEFORGE_TOKEN }}
69+ github-token : ${{ secrets.GITHUB_TOKEN }}
6970
7071 name : " SkyCofl ${{ github.ref_name }} Fabric ${{ matrix.minecraft_version }}"
7172 version : " ${{ github.ref_name }}_Fabric_${{ matrix.minecraft_version }}"
8384 dependencies : |
8485 fabric@${{ matrix.fabric_version }}(required){modrinth:P7dR8mSH}{curseforge:306612}#(ignore:github)
8586
86- - name : Upload to GitHub Release
87- uses : softprops/action-gh-release@v2
88- if : startsWith(github.ref, 'refs/tags/')
89- with :
90- files : build/libs/SkyCofl-*-Fabric-*.jar
91- env :
92- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87+
9388# The name and version are switched for modrinth
9489 publish-modrinth :
9590 needs : build
@@ -118,6 +113,7 @@ jobs:
118113 with :
119114 modrinth-id : yso5yMlC
120115 modrinth-token : ${{ secrets.MODRINTH_TOKEN }}
116+ curseforge-token : " "
121117
122118 name : " SkyCofl ${{ github.ref_name }} Fabric ${{ matrix.minecraft_version }}"
123119 version : " ${{ github.ref_name }}_Fabric_${{ matrix.minecraft_version }}"
You can’t perform that action at this time.
0 commit comments