Skip to content

Commit 42dd280

Browse files
committed
Use GitHub actions for releases.
See gh-948
1 parent 5a2af7c commit 42dd280

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/docs-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ run-name: "${{ format('{0} Trigger', github.workflow) }}"
33

44
on:
55
push:
6-
branches-ignore: [ gh-pages ]
7-
tags: '**'
6+
branches: [ main ]
7+
branches-ignore: [ gh-pages, release ]
8+
tags: [ * ]
89
repository_dispatch:
910
types: request-build-reference # legacy
1011
#schedule:

.github/workflows/release.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,13 @@ jobs:
2020
java-version: '25'
2121
distribution: temurin
2222
cache: maven
23-
- name: Cache Vault
24-
uses: actions/[email protected]
25-
with:
26-
path: |
27-
download
28-
vault
29-
key: ${{ runner.os }}-${{ hashFiles('src/test/bash/**') }}
3023
- name: Install GPG key
3124
run: |
3225
echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg.asc
3326
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --passphrase-fd 0 --import gpg.asc
3427
- name: Release to Maven Central
3528
env:
36-
ARTIFACTORY_USR: ${{ secrets.ARTIFACTORY_USERNAME }}
37-
ARTIFACTORY_PSW: ${{ secrets.ARTIFACTORY_PASSWORD }}
29+
CENTRAL_TOKEN_USR: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
30+
CENTRAL_TOKEN_PSW: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
3831
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
39-
run: ci/release-to-maven-central.sh
32+
run: ci/deploy-maven-central.sh

0 commit comments

Comments
 (0)