Skip to content

Commit

Permalink
ci: update GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpierrefortune committed Oct 21, 2024
1 parent c6de99d commit db746e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/java-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Compile and Deploy Java API to Maven Central

on:
push:
branches:
- keyple-less-client
workflow_dispatch:

jobs:
Expand All @@ -24,8 +26,8 @@ jobs:

- name: Install GPG secret key
run: |
echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | base64 -d | gpg --batch --import
gpg --pinentry-mode loopback --passphrase "${{ secrets.OSSRH_GPG_SECRET_PASSWORD }}" --export-secret-keys > ~/.gradle/maven-central.gpg
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --pinentry-mode loopback --passphrase "${{ secrets.OSSRH_GPG_SECRET_PASSWORD }}" --export-secret-key 568FD16F857171A0EC6D2C40742C84722FD2B235 > ~/.gradle/maven-central.gpg
gpg --list-secret-keys --keyid-format LONG
- name: Update permissions
Expand Down

0 comments on commit db746e1

Please sign in to comment.