Skip to content

Commit

Permalink
chore[release]: trying to simplify the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-ning-usds committed Sep 6, 2024
1 parent 21dfbe6 commit 0f6d2da
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:

- name: Decrypt and Import GPG Key
run: |
gpgconf --kill gpg-agent || true
gpgconf --launch gpg-agent || true
echo "$PGP_SECRET" | base64 --decode | gpg --batch --no-tty --import
echo "$PGP_SECRET" | base64 --decode | gpg --batch --no-tty --import
env:
PGP_SECRET: ${{ secrets.GPG_PRIVATE_KEY_BORIS }}

Expand All @@ -49,11 +47,11 @@ jobs:
echo "----------------------------------------------------------"
echo "----------------------------------------------------------"
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
PGP_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE_BORIS }}
PGP_SECRET: ${{ secrets.GPG_PRIVATE_KEY_BORIS }}

SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

- name: Publish to Maven Repository
run: sbt ci-release
env:
Expand Down

0 comments on commit 0f6d2da

Please sign in to comment.