mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Changed documentation to @r6.
This commit is contained in:
@@ -64,10 +64,10 @@ Instantiation
|
||||
|
||||
jobs:
|
||||
Prepare:
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r5
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r6
|
||||
|
||||
Release:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r5
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r6
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||
@@ -441,7 +441,7 @@ replacements
|
||||
.. code-block:: yaml
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r5
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r6
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||
|
||||
@@ -47,21 +47,21 @@ Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example depicts three jobs within a bigger pipeline. The ``prepare`` job derived from job
|
||||
template ``PrepareJob`` version ``@r5`` figures out if a pipeline runs for a release merge-commit, for a tag or any
|
||||
template ``PrepareJob`` version ``@r6`` figures out if a pipeline runs for a release merge-commit, for a tag or any
|
||||
other reason. Its outputs are used to either run a ``TriggerTaggedRelease`` job derived from job template
|
||||
``TagReleaseCommit`` version ``@r5``, or alternatively run the ``ReleasePage`` job derived from job template
|
||||
``PublishReleaseNotes`` version ``@r5``.
|
||||
``TagReleaseCommit`` version ``@r6``, or alternatively run the ``ReleasePage`` job derived from job template
|
||||
``PublishReleaseNotes`` version ``@r6``.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
jobs:
|
||||
Prepare:
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r5
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r6
|
||||
|
||||
# Other pipeline jobs
|
||||
|
||||
TriggerTaggedRelease:
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@r5
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@r6
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_commit == 'true' && github.event_name != 'schedule'
|
||||
@@ -74,7 +74,7 @@ other reason. Its outputs are used to either run a ``TriggerTaggedRelease`` job
|
||||
secrets: inherit
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r5
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r6
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||
|
||||
Reference in New Issue
Block a user