mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
ExamplePipeline: change '@dev' to '@main'
This commit is contained in:
@@ -8,7 +8,7 @@ jobs:
|
|||||||
# This job is a workaround for global variables
|
# This job is a workaround for global variables
|
||||||
# See https://github.com/actions/runner/issues/480
|
# See https://github.com/actions/runner/issues/480
|
||||||
Params:
|
Params:
|
||||||
uses: pyTooling/Actions/.github/workflows/Params.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Params.yml@main
|
||||||
with:
|
with:
|
||||||
name: ToolName
|
name: ToolName
|
||||||
# Optional
|
# Optional
|
||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
python_version_list: '3.8 3.9 3.10'
|
python_version_list: '3.8 3.9 3.10'
|
||||||
|
|
||||||
UnitTesting:
|
UnitTesting:
|
||||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
|
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||||
with:
|
with:
|
||||||
jobs: ${{ needs.Params.outputs.python_jobs }}
|
jobs: ${{ needs.Params.outputs.python_jobs }}
|
||||||
# Optional
|
# Optional
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}
|
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}
|
||||||
|
|
||||||
Coverage:
|
Coverage:
|
||||||
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@dev
|
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
with:
|
with:
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||||
|
|
||||||
StaticTypeCheck:
|
StaticTypeCheck:
|
||||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev
|
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
with:
|
with:
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
report: 'htmlmypy'
|
report: 'htmlmypy'
|
||||||
|
|
||||||
Release:
|
Release:
|
||||||
uses: pyTooling/Actions/.github/workflows/Release.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Release.yml@main
|
||||||
if: startsWith(github.ref, 'refs/tags')
|
if: startsWith(github.ref, 'refs/tags')
|
||||||
needs:
|
needs:
|
||||||
- UnitTesting
|
- UnitTesting
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
- StaticTypeCheck
|
- StaticTypeCheck
|
||||||
|
|
||||||
Package:
|
Package:
|
||||||
uses: pyTooling/Actions/.github/workflows/Package.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Package.yml@main
|
||||||
if: startsWith(github.ref, 'refs/tags')
|
if: startsWith(github.ref, 'refs/tags')
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
requirements: 'wheel'
|
requirements: 'wheel'
|
||||||
|
|
||||||
PublishOnPyPI:
|
PublishOnPyPI:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
|
||||||
if: startsWith(github.ref, 'refs/tags')
|
if: startsWith(github.ref, 'refs/tags')
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
@@ -83,7 +83,7 @@ jobs:
|
|||||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||||
|
|
||||||
VerifyDocs:
|
VerifyDocs:
|
||||||
uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
|
uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
with:
|
with:
|
||||||
@@ -91,7 +91,7 @@ jobs:
|
|||||||
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
|
python_version: ${{ fromJson(needs.Params.outputs.params).python_version }}
|
||||||
|
|
||||||
BuildTheDocs:
|
BuildTheDocs:
|
||||||
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@dev
|
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
- VerifyDocs
|
- VerifyDocs
|
||||||
@@ -99,7 +99,7 @@ jobs:
|
|||||||
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
|
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
|
||||||
|
|
||||||
PublishToGitHubPages:
|
PublishToGitHubPages:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
- BuildTheDocs
|
- BuildTheDocs
|
||||||
|
|||||||
Reference in New Issue
Block a user