Skip to content

Commit

Permalink
Fix release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
kkorotkov committed Dec 19, 2023
1 parent 796b3e8 commit 8b76082
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/netlicensing-client-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ on:

jobs:
release:
name: Release ${{ github.event.inputs.release-version }}
name: Release ${{ github.event.inputs.release-version }} / Java ${{ matrix.java-version }}
runs-on: self-hosted
container: maven:3-amazoncorretto-17
container: maven:3-amazoncorretto-17-al2023
strategy:
fail-fast: false
matrix:
java-version: [11, 17]
include:
Expand All @@ -24,7 +25,12 @@ jobs:
jdk-suffix: -jdk17

steps:
- uses: actions/checkout@v3
# Specific to maven:3-amazoncorretto-17-al2023 image
- name: Install required tooling
run: yum install -y --allowerasing git gnupg2

- name: Checkout the sources
uses: actions/checkout@v4
with:
ssh-key: '${{ secrets.REPO_SSH_KEY }}'

Expand Down Expand Up @@ -67,6 +73,6 @@ jobs:
-Drevision=${{ github.event.inputs.release-version }} \
-Dsha1=$BRANCH_SUFFIX \
-Dchangelist= \
-Djava.version=${{ matrix.java-version }}
-Djava.version=${{ matrix.java-version }} \
-Dmessage="Release ${{ github.event.inputs.release-version }}" \
-Dgpg.passphrase=${{ secrets.GPG_KEY_PASS }}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<maven-site-plugin.version>3.11.0</maven-site-plugin.version>
<maven-javadoc-plugin.version>3.3.2</maven-javadoc-plugin.version>
<maven-dependency-plugin.version>3.3.0</maven-dependency-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
<!-- TODO(AY): change version when the new release comes. Java 11 Warning https://github.com/highsource/maven-jaxb2-plugin/issues/148 -->
<maven-jaxb2-plugin.version>0.14.0</maven-jaxb2-plugin.version>
<jaxb.version>2.3.1</jaxb.version>
Expand Down

0 comments on commit 8b76082

Please sign in to comment.