Skip to content

Commit 825d40c

Browse files
committed
Add new workflow for cljs release
1 parent 8a9d38e commit 825d40c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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: script/build
28+
env:
29+
HUDSON: true

0 commit comments

Comments
 (0)