Skip to content

Commit

Permalink
chore: releases to release (#722)
Browse files Browse the repository at this point in the history
releases to release

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
  • Loading branch information
Kavindu-Dodan authored Dec 7, 2023
1 parent 63c8a9f commit 425621d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:

# These steps are only run if this was a merged release-please PR
- name: checkout
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK 8
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-java@16ef37f8dd292a31055a9ee0d26fa0a4efab58de
with:
java-version: '8'
Expand All @@ -41,14 +41,14 @@ jobs:
server-password: ${{ secrets.OSSRH_PASSWORD }}

- name: Configure GPG Key
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.release_created }}
run: |
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}

- name: Deploy
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.release_created }}
run: |
mvn --batch-mode \
--settings release/m2-settings.xml clean deploy
Expand Down

0 comments on commit 425621d

Please sign in to comment.