Skip to content

Commit 624c95b

Browse files
Merge pull request #428 from XeroAPI/the-chris-mitchell-patch-1
ci: remove use of gpg key in pr test
2 parents 01a00ab + 2554093 commit 624c95b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
- name: Checkout Xero-Java repo
1616
uses: actions/checkout@v4
1717
with:
18-
repository: XeroAPI/Xero-Java
1918
path: Xero-Java
2019

2120
- name: Set up JDK environment
@@ -25,12 +24,6 @@ jobs:
2524
java-version: '11'
2625
cache: maven
2726

28-
- name: Import GPG Key
29-
run: |
30-
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
31-
env:
32-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY}}
33-
3427
- name: Set up Node environment
3528
uses: actions/setup-node@v2
3629
with:
@@ -45,12 +38,5 @@ jobs:
4538

4639
- name: Build and test post generation
4740
run: |
48-
export GPG_TTY=$(tty)
49-
mvn clean verify
50-
env:
51-
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
52-
working-directory: Xero-Java
53-
54-
- name: Stop PRISM
55-
run: pkill -f prism
41+
mvn clean verify -Dgpg.skip
5642
working-directory: Xero-Java

0 commit comments

Comments
 (0)