We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9a506a commit 7365423Copy full SHA for 7365423
1 file changed
.github/workflows/coverage.yaml
@@ -8,8 +8,27 @@ env:
8
CARGO_TERM_COLOR: always
9
10
jobs:
11
+ secrets:
12
+ name: Secrets
13
+ environment: coverage
14
+ runs-on: ubuntu-latest
15
+
16
+ outputs:
17
+ continue: ${{ steps.check.outputs.continue }}
18
19
+ steps:
20
+ - id: check
21
+ name: Check
22
+ env:
23
+ CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
24
+ if: "${{ env.CODECOV_TOKEN != '' }}"
25
+ run: echo "continue=true" >> $GITHUB_OUTPUT
26
27
report:
28
name: Report
29
30
+ needs: secrets
31
+ if: needs.secrets.outputs.continue == 'true'
32
runs-on: ubuntu-latest
33
env:
34
CARGO_INCREMENTAL: "0"
0 commit comments