Skip to content

Commit c4c2e49

Browse files
committed
add google closure release workflow
1 parent 825d40c commit c4c2e49

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/closure.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release on demand
2+
3+
on: [workflow_dispatch]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Check out
10+
uses: actions/checkout@v3
11+
- name: Set Github identity
12+
run: |
13+
git config --global user.name clojure-build
14+
git config --global user.email "clojure-build@users.noreply.github.com"
15+
- name: Set up Java
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: 8
19+
distribution: 'temurin'
20+
cache: 'maven'
21+
server-id: sonatype-nexus-staging
22+
server-username: MAVEN_USERNAME
23+
server-password: MAVEN_PASSWORD
24+
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
25+
gpg-passphrase: GPG_PASSPHRASE
26+
- name: Release
27+
run: |
28+
cd script/closure-library-release
29+
./closure-library-release.sh
30+
env:
31+
HUDSON: true

0 commit comments

Comments
 (0)