Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
alaugks committed Oct 14, 2024
1 parent 2dbb53f commit 9968455
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ossrh-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "OSSRH Release"
run-name: OSSRH Release [${{ github.ref_name }}]
on:
push:
tags:
- '*-SNAPSHOT'
workflow_dispatch:
jobs:
release:
Expand All @@ -21,11 +18,12 @@ jobs:
java-version: '17'
check-latest: true
server-id: 'ossrh'
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
server-username: 'OSSRH_USERNAME'
server-password: 'OSSRH_PASSWORD'
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PRIVATE_KEY_PASSPHRASE
gpg-passphrase: 'GPG_PRIVATE_KEY_PASSPHRASE'
cache: 'maven'

- name: Run Tests
run: |
mvn test
Expand All @@ -35,6 +33,5 @@ jobs:
mvn -U -B clean deploy -P release
env:
GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 comments on commit 9968455

Please sign in to comment.