Skip to content

Commit 2554093

Browse files
author
Chris Mitchell
committed
ci: remove use of gpg key
1 parent 9bde1e1 commit 2554093

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

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

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
pull_request_target:
7+
pull_request:
88
types: [opened, reopened, synchronize]
99

1010
jobs:
@@ -15,30 +15,15 @@ jobs:
1515
- name: Checkout Xero-Java repo
1616
uses: actions/checkout@v4
1717
with:
18-
ref: ${{ github.event.pull_request.head.ref }}
1918
path: Xero-Java
2019

21-
- name: Checkout start-prism.sh from master
22-
uses: actions/checkout@v4
23-
with:
24-
ref: master
25-
path: prism-script
26-
sparse-checkout: src/test/java/com/xero/api/util/start-prism.sh
27-
sparse-checkout-cone-mode: false
28-
2920
- name: Set up JDK environment
3021
uses: actions/setup-java@v4
3122
with:
3223
distribution: 'temurin'
3324
java-version: '11'
3425
cache: maven
3526

36-
- name: Import GPG Key
37-
run: |
38-
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
39-
env:
40-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY}}
41-
4227
- name: Set up Node environment
4328
uses: actions/setup-node@v2
4429
with:
@@ -49,12 +34,9 @@ jobs:
4934

5035
- name: Start PRISM Server
5136
run: ./start-prism.sh feature/prism-changes-mt-v2 & sleep 15
52-
working-directory: prism-script/src/test/java/com/xero/api/util
37+
working-directory: Xero-Java/src/test/java/com/xero/api/util
5338

5439
- name: Build and test post generation
5540
run: |
56-
export GPG_TTY=$(tty)
57-
mvn clean verify
58-
env:
59-
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
41+
mvn clean verify -Dgpg.skip
6042
working-directory: Xero-Java

0 commit comments

Comments
 (0)