Skip to content

Commit

Permalink
updates logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 9, 2024
1 parent 573efe5 commit 79cfc49
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:

- name: Import GPG Key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
env:
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)
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY}}

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

0 comments on commit 79cfc49

Please sign in to comment.