Skip to content

Commit caeca2e

Browse files
committed
Added Publish to Maven action step.
1 parent 3cc9810 commit caeca2e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ env:
99
RELEASE_NAME: Solstice 0.3.0-alpha for Minecraft 1.20.1
1010
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
1111
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
12+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
13+
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
1214

1315
permissions:
1416
contents: write
@@ -38,6 +40,9 @@ jobs:
3840
- name: Build
3941
run: ./gradlew clean build
4042

43+
- name: Publish to Maven
44+
run: ./gradlew publish
45+
4146
- name: Publish
4247
uses: Kir-Antipov/mc-publish@v3.3
4348
with:

0 commit comments

Comments
 (0)