Skip to content

Commit 8cfe867

Browse files
committed
ci: combine publication into one job
1 parent af4890b commit 8cfe867

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

.github/workflows/publish_release.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,9 @@ jobs:
2121
uses: gradle/actions/setup-gradle@v4
2222

2323
- name: Execute Gradle build
24-
run: gradle build shadowJar #artifactoryPublish
24+
run: gradle build shadowJar artifactoryPublish modrinth
2525
env:
2626
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
2727
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
28-
# publish-modrinth:
29-
# runs-on: ubuntu-latest
30-
# steps:
31-
# - name: Checkout project sources
32-
# uses: actions/checkout@v4
33-
#
34-
# - name: Setup Java
35-
# uses: actions/setup-java@v4
36-
# with:
37-
# java-version: 21
38-
# distribution: temurin
39-
#
40-
# - name: Setup Gradle
41-
# uses: gradle/actions/setup-gradle@v4
42-
#
43-
# - name: Execute Gradle build
44-
# run: gradle build shadowJar modrinth
45-
# env:
46-
# MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
47-
# CHANGELOG: ${{ github.event.release.body }}
28+
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
29+
CHANGELOG: ${{ github.event.release.body }}

0 commit comments

Comments
 (0)