Skip to content

Commit

Permalink
use a different secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 9, 2024
1 parent ef2024b commit 3b93c23
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:
java-version: '11'
cache: maven

# - name: Import GPG Key
# run: |
# echo "${{ secrets.GPG_PRIVATE_KEY }}" > /tmp/private-key.asc
# gpg --batch --import /tmp/private-key.asc
# gpg --list-secret-keys
# env:
# GPG_TTY: $(tty)
- name: Import GPG Key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY_TEST }}" > /tmp/private-key.asc
gpg --batch --import /tmp/private-key.asc
gpg --list-secret-keys
env:
GPG_TTY: $(tty)

- name: Build and test post generation
run: |
cd Xero-Java
mvn clean verify -DskipTests=true
# run: |
# cd Xero-Java
# export GPG_TTY=$(tty)
# mvn clean verify -DskipTests=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
# env:
# GPG_TTY: $(tty)
# mvn clean verify -DskipTests=true
run: |
cd Xero-Java
export GPG_TTY=$(tty)
mvn clean verify -DskipTests=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE_TEST }}
env:
GPG_TTY: $(tty)

0 comments on commit 3b93c23

Please sign in to comment.