Skip to content

Commit 1a78902

Browse files
author
Jonathan Wenger
committed
Fix tests in pipeline
1 parent 274e447 commit 1a78902

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/Deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@ jobs:
4545
-H "Content-Type: application/x-www-form-urlencoded" \
4646
-d "grant_type=client_credentials&client_id=${{secrets.OKTA_CLIENT_ID}}&client_secret=${{secrets.OKTA_CLIENT_SECRET}}")
4747
token=$(echo $response | jq -r '.access_token')
48-
echo "BEARER_TOKEN=${token}" >> $GITHUB_ENV
48+
echo "BEARER_TOKEN_EINVOICING=${token}" >> $GITHUB_ENV
4949
5050
- name: Build with Maven
51-
run: mvn --batch-mode --update-snapshots verify -DprofileIdEnabled=true -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -Psign-artifacts
51+
run: mvn --batch-mode --update-snapshots verify -DprofileIdEnabled=true -Dtest=EInvoicingTest -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -Psign-artifacts
5252
env:
5353
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
54+
BEARER_TOKEN_EINVOICING: ${{ env.BEARER_TOKEN_EINVOICING }}
5455

5556
- name: Update resources
5657
uses: test-room-7/action-update-file@v1

0 commit comments

Comments
 (0)