Skip to content

Commit

Permalink
Testing updating variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
noconnor committed Oct 4, 2024
1 parent 83385ae commit 2bc3ba1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,19 @@ jobs:
java-version: '11'
distribution: 'adopt'
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_TOKEN
server-username: MAVEN_CENTRAL_USERNAME
server-password: MAVEN_CENTRAL_PASSWORD
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-passphrase: GPG_PASSPHRASE
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Setup git config
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout -b version-update-${LATEST_TAG}
git config user.name "github-actions[release]"
git config user.email "github-actions[release]@users.noreply.github.com"
gpg -k
- name: Publish package
run: mvn -B -DprojectVersionPolicyId=SemVerVersionPolicy release:prepare release:perform
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
MAVEN_GPG_KEY: ${{ secrets.GPG_SIGNING_KEY }}
MAVEN_CENTRAL_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 comments on commit 2bc3ba1

Please sign in to comment.