Skip to content

Iceaxe-CI-Publish

Iceaxe-CI-Publish #24

Workflow file for this run

name: Iceaxe-CI-Publish
on: [workflow_dispatch, workflow_call]
concurrency: ${{ github.workflow }}
jobs:
Publish:
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
shell: bash
env:
JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
steps:
- name: Setup_Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GHA_PAT }}
- name: Publish
run: |
./gradlew -i iceaxe-core:showTsubakuroManifest clean publish
env:
ST_OSSRH_USER: ${{ secrets.ST_OSSRH_USER }}
ST_OSSRH_PASSWORD: ${{ secrets.ST_OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}