File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 26
26
version : ${{ steps.dotnet-pack.outputs.version }}
27
27
nupkg-filename : ${{ steps.dotnet-pack.outputs.nupkg-filename }}
28
28
release-body : ${{ steps.tag-message.outputs.release-notes }}
29
+ env :
30
+ CODACY_PROJECT_TOKEN : ${{ secrets.CODACY_PROJECT_TOKEN }}
31
+ STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
29
32
steps :
30
33
- name : Checkout git repository
31
34
uses : actions/checkout@v3
72
75
with :
73
76
files : ${{ steps.dotnet-test.outputs.coverage-reports }}
74
77
- name : Upload coverage report to Codacy
75
- if : matrix.os == 'ubuntu-latest' && secrets .CODACY_PROJECT_TOKEN != ''
78
+ if : matrix.os == 'ubuntu-latest' && env .CODACY_PROJECT_TOKEN != ''
76
79
uses : codacy/codacy-coverage-reporter-action@v1
77
80
with :
78
81
project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
87
90
name : ${{ steps.dotnet-pack.outputs.nupkg-filename }}
88
91
path : ${{ steps.dotnet-pack.outputs.nupkg-filename }}
89
92
- name : Run mutation tests and upload report to Stryker dashboard
90
- if : matrix.os == 'ubuntu-latest' && secrets .STRYKER_DASHBOARD_API_KEY != ''
93
+ if : matrix.os == 'ubuntu-latest' && env .STRYKER_DASHBOARD_API_KEY != ''
91
94
run : |
92
95
dotnet tool restore
93
96
dotnet tool run dotnet-stryker --reporter dashboard --version ${GITHUB_REF_NAME} --dashboard-api-key ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
You can’t perform that action at this time.
0 commit comments