Skip to content

Commit 9513669

Browse files
committed
Move the scope of the test environment variables, round two
1 parent d7f8a57 commit 9513669

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ on:
66
jobs:
77
publish:
88
if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'main' }}
9+
env:
10+
# Integration test environment variables.
11+
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
12+
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
13+
BW_USERNAME: ${{ secrets.BW_USERNAME }}
14+
MESSAGING_APPLICATION_ID: ${{ secrets.MESSAGING_APPLICATION_ID }}
15+
MFA_MESSAGING_APPLICATION_ID: ${{ secrets.MFA_MESSAGING_APPLICATION_ID }}
16+
MFA_VOICE_APPLICATION_ID: ${{ secrets.MFA_VOICE_APPLICATION_ID }}
17+
PHONE_NUMBER_INBOUND: ${{ secrets.PHONE_NUMBER_INBOUND }}
18+
PHONE_NUMBER_MFA: ${{ secrets.PHONE_NUMBER_MFA }}
19+
PHONE_NUMBER_OUTBOUND: ${{ secrets.PHONE_NUMBER_OUTBOUND }}
20+
VOICE_APPLICATION_ID: ${{ secrets.VOICE_APPLICATION_ID }}
21+
VOICE_CALLBACK_URL: ${{ secrets.VOICE_CALLBACK_URL }}
922
runs-on: ubuntu-latest
1023
steps:
1124
- uses: actions/checkout@v2
@@ -22,19 +35,6 @@ jobs:
2235
2336
- name: Build with Maven
2437
run: mvn -B package --file pom.xml
25-
env:
26-
# Integration test environment variables.
27-
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
28-
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
29-
BW_USERNAME: ${{ secrets.BW_USERNAME }}
30-
MESSAGING_APPLICATION_ID: ${{ secrets.MESSAGING_APPLICATION_ID }}
31-
MFA_MESSAGING_APPLICATION_ID: ${{ secrets.MFA_MESSAGING_APPLICATION_ID }}
32-
MFA_VOICE_APPLICATION_ID: ${{ secrets.MFA_VOICE_APPLICATION_ID }}
33-
PHONE_NUMBER_INBOUND: ${{ secrets.PHONE_NUMBER_INBOUND }}
34-
PHONE_NUMBER_MFA: ${{ secrets.PHONE_NUMBER_MFA }}
35-
PHONE_NUMBER_OUTBOUND: ${{ secrets.PHONE_NUMBER_OUTBOUND }}
36-
VOICE_APPLICATION_ID: ${{ secrets.VOICE_APPLICATION_ID }}
37-
VOICE_CALLBACK_URL: ${{ secrets.VOICE_CALLBACK_URL }}
3838

3939
- uses: actions/checkout@v2
4040
- name: Set up Apache Maven Central

0 commit comments

Comments
 (0)