Skip to content

Build Google closure library #2

Build Google closure library

Build Google closure library #2

Workflow file for this run

name: Build Google closure library
on:
workflow_dispatch:
inputs:
deploy:
description: "Deploy to Maven Central"
required: true
default: false
type: boolean
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Set Github identity
run: |
git config --global user.name clojure-build
git config --global user.email "clojure-build@users.noreply.github.com"
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
server-id: sonatype-nexus-staging
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
gpg-passphrase: GPG_PASSPHRASE
- name: Release
run: |
cd script/closure-library-release
./closure-library-release.sh
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
HUDSON: ${{ github.event.inputs.deploy }}