Skip to content

Publish

Publish #7

Workflow file for this run

name: Publish
on:
push:
tags:
- "v0.*"
jobs:
publish:
environment:
name: maven-central
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
cache: "gradle"
- name: Publish
run: ./gradlew --stacktrace :publishMavenPublicationToMavenCentralRepository embulk-guess-csv:publishMavenPublicationToMavenCentralRepository embulk-guess-csv_all_strings:publishMavenPublicationToMavenCentralRepository
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{ vars.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY_ARMOR }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}