mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Fixed secret name.
This commit is contained in:
2
.github/workflows/CompletePipeline.yml
vendored
2
.github/workflows/CompletePipeline.yml
vendored
@@ -120,7 +120,7 @@ on:
|
|||||||
CODECOV_TOKEN:
|
CODECOV_TOKEN:
|
||||||
description: "Token for pushing coverage and unittest results to Codecov."
|
description: "Token for pushing coverage and unittest results to Codecov."
|
||||||
required: false
|
required: false
|
||||||
CODACY_PROJECT_TOKEN:
|
CODACY_TOKEN:
|
||||||
description: "Token for pushing coverage results to Codacy."
|
description: "Token for pushing coverage results to Codacy."
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
|||||||
@@ -55,8 +55,7 @@ Simple Example
|
|||||||
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r0
|
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r0
|
||||||
with:
|
with:
|
||||||
artifact: Coverage
|
artifact: Coverage
|
||||||
secrets:
|
secrets: inherit
|
||||||
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
||||||
|
|
||||||
Complex Example
|
Complex Example
|
||||||
===============
|
===============
|
||||||
@@ -71,8 +70,7 @@ Complex Example
|
|||||||
with:
|
with:
|
||||||
python_version: ${{ needs.Params.outputs.python_version }}
|
python_version: ${{ needs.Params.outputs.python_version }}
|
||||||
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).codecoverage_html }}
|
artifact: ${{ fromJson(needs.Params.outputs.artifact_names).codecoverage_html }}
|
||||||
secrets:
|
secrets: inherit
|
||||||
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
**********
|
**********
|
||||||
|
|||||||
Reference in New Issue
Block a user