Skip to content

Commit 94738b1

Browse files
build: upload to staging as well
1 parent 7839b05 commit 94738b1

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,20 @@ jobs:
2828
files: ./demo/coverage-test/junit.xml
2929
flags: ${{ matrix.os }}
3030
verbose: true
31-
token: ${{ secrets.CODECOV_ORG_TOKEN }}
31+
token: ${{ secrets.CODECOV_ORG_TOKEN }}
32+
- name: Upload test results to Codecov (calculator) (staging)
33+
uses: ./
34+
with:
35+
files: ./demo/calculator/junit.xml
36+
flags: ${{ matrix.os }}
37+
verbose: true
38+
token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}
39+
url: ${{ secrets.secrets.CODECOV_STAGING_URL }}
40+
- name: Upload test results to Codecov (demo) (staging)
41+
uses: ./
42+
with:
43+
files: ./demo/coverage-test/junit.xml
44+
flags: ${{ matrix.os }}
45+
verbose: true
46+
token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}
47+
url: ${{ secrets.secrets.CODECOV_STAGING_URL }}

0 commit comments

Comments
 (0)