Skip to content

Commit

Permalink
reverted unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 9, 2024
1 parent 942239c commit c9e17b3
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,18 @@ jobs:
distribution: 'temurin'
java-version: '11'
cache: maven

- name: Configure GPG
run: |
mkdir -p ~/.gnupg
chmod 700 ~/.gnupg
echo "use-agent" > ~/.gnupg/gpg.conf
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
echo "default-cache-ttl 600" >> ~/.gnupg/gpg-agent.conf
echo "max-cache-ttl 7200" >> ~/.gnupg/gpg-agent.conf
gpgconf --reload gpg-agent
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE_TEST }}

- name: Import GPG Key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY_TEST }}" | gpg --import
gpg --list-secret-keys --keyid-format LONG
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE_TEST }}
echo "${{ secrets.GPG_PRIVATE_KEY_TEST }}" | gpg --batch --import
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY_TEST}}

- 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_TEST }}
env:
GPG_TTY: $(tty)

0 comments on commit c9e17b3

Please sign in to comment.