Skip to content

Commit

Permalink
ci: publish to maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Oct 30, 2024
1 parent 1de7f79 commit 54a4092
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
run: ./gradlew build

- name: Publish to maven repository
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
run: ./gradlew publish

- name: Publish to Modrinth/CurseForge
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/prerelease-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
- name: Build with Gradle
run: ./gradlew build

- name: Publish to maven repository
- name: Publish to maven repository`
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
run: ./gradlew publish -Psnapshot=true

- name: Publish to GitHub
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
run: ./gradlew build

- name: Publish to maven repository
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
run: ./gradlew publish

- name: Publish to Modrinth/CurseForge
Expand Down

0 comments on commit 54a4092

Please sign in to comment.