Skip to content

Commit 06fd9a0

Browse files
simplify gh action
1 parent 08d4462 commit 06fd9a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
run: npm run ${{ matrix.test.npm_script }} -- --ci --reporters=default --reporters=github-actions --reporters=jest-junit
5050
env:
5151
CONDUCTOR_SERVER_URL: ${{ matrix.test.server_url }}
52-
CONDUCTOR_AUTH_KEY: ${{ matrix.test.cluster == 'v5' && secrets.AUTH_KEY || matrix.test.cluster == 'v4' && secrets.AUTH_KEY_V4 || secrets.AUTH_KEY }}
53-
CONDUCTOR_AUTH_SECRET: ${{ matrix.test.cluster == 'v5' && secrets.AUTH_SECRET || matrix.test.cluster == 'v4' && secrets.AUTH_SECRET_V4 || secrets.AUTH_SECRET }}
52+
CONDUCTOR_AUTH_KEY: ${{ matrix.test.cluster == 'v4' && secrets.AUTH_KEY_V4 || secrets.AUTH_KEY }}
53+
CONDUCTOR_AUTH_SECRET: ${{ matrix.test.cluster == 'v4' && secrets.AUTH_SECRET_V4 || secrets.AUTH_SECRET }}
5454
JEST_JUNIT_OUTPUT_NAME: ${{ matrix.test.output_file }}
5555
- name: Publish ${{ matrix.test.name }} Test Results
5656
uses: dorny/test-reporter@v2

0 commit comments

Comments
 (0)