Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/candidate-9.4.x'
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <[email protected]>

# Conflicts:
#	commons-hpcc/pom.xml
#	dfsclient/pom.xml
#	pom.xml
#	wsclient/pom.xml
  • Loading branch information
GordonSmith committed Mar 7, 2024
2 parents 94bb13c + 94bb9c3 commit 3fd6a11
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 7 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/publish-release-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
tags:
- '*-release'
jobs:
publish:
publish-maven-central:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
Expand All @@ -23,4 +23,27 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER_NAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGN_MODULES_PASSPHRASE }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGN_MODULES_PASSPHRASE }}
publish-jfrog-artifactory:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Jfrog Artifactory Deployment
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
server-id: 'jfrog'
server-username: JFROG_USER
server-password: JFROG_TOKEN
gpg-private-key: ${{ secrets.SIGNING_SECRET }}
gpg-passphrase: JFROG_GPG_PASSPHRASE
- name: Publish package
run: mvn -Pjfrog-artifactory -Dgpg.passphrase=${{ secrets.SIGN_MODULES_PASSPHRASE }} -DstagingProgressTimeoutMinutes=20 clean deploy -e
env:
JFROG_USER: ${{ secrets.JFROG_USER }}
JFROG_TOKEN: ${{ secrets.JFROG_TOKEN }}
JFROG_GPG_PASSPHRASE: ${{ secrets.SIGN_MODULES_PASSPHRASE }}
JFROG_URL: ${{ vars.JFROG_URL }}
JFROG_SNAPSHOT_REPOSITORY: ${{ vars.JFROG_SNAPSHOT_REPOSITORY }}
JFROG_REPOSITORY: ${{ vars.JFROG_REPOSITORY }}
31 changes: 28 additions & 3 deletions .github/workflows/publish-snapshots-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ on:
create:
branches:
- 'candidate-*'

jobs:
publish:
publish-maven-central:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
Expand All @@ -26,3 +27,27 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER_NAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }}
publish-jfrog-artifactory:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Jfrog Artifactory Deployment
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
server-id: 'jfrog-snapshot'
server-username: JFROG_USER
server-password: JFROG_TOKEN
gpg-private-key: ${{ secrets.SIGNING_SECRET }}
gpg-passphrase: JFROG_GPG_PASSPHRASE
- name: Publish package
if: contains(github.ref_name, '-release') == false
run: mvn -Pjfrog-artifactory -Dgpg.passphrase=${{ secrets.SIGN_MODULES_PASSPHRASE }} -DstagingProgressTimeoutMinutes=20 clean deploy -e
env:
JFROG_USER: ${{ secrets.JFROG_USER }}
JFROG_TOKEN: ${{ secrets.JFROG_TOKEN }}
JFROG_GPG_PASSPHRASE: ${{ secrets.SIGN_MODULES_PASSPHRASE }}
JFROG_URL: ${{ vars.JFROG_URL }}
JFROG_SNAPSHOT_REPOSITORY: ${{ vars.JFROG_SNAPSHOT_REPOSITORY }}
JFROG_REPOSITORY: ${{ vars.JFROG_REPOSITORY }}

0 comments on commit 3fd6a11

Please sign in to comment.