Publish full release to Maven #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish full release to Maven | |
on: | |
workflow_dispatch: | |
release: | |
types: [created] | |
jobs: | |
publish-full: | |
name: Publish ${{github.ref_name}} artifact to Sleeping Town maven | |
runs-on: ubuntu-latest | |
environment: publishing | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
- name: Publish | |
run: ./gradlew publish --info --stacktrace -Ppublish-username=${{secrets.PUBLISH_USERNAME}} -Ppublish-password=${{secrets.PUBLISH_PASSWORD}} | |
env: | |
VOLDE_RELEASE_MODE: 1 |