mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
Updating r7 from v7.0.1
This commit is contained in:
@@ -47,7 +47,7 @@ Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``Install`` job derived from job template ``InstallPackage`` version
|
||||
`@r6`. It installs the Python package on various platforms using a precomputed job-matrix created by job
|
||||
`@r7`. It installs the Python package on various platforms using a precomputed job-matrix created by job
|
||||
``InstallParams``. This job uses the same ``Parameters`` job template as job ``UnitTestingParams``, which was used to
|
||||
define parameters for the packaging job ``Package``.
|
||||
|
||||
@@ -55,25 +55,25 @@ define parameters for the packaging job ``Package``.
|
||||
|
||||
jobs:
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
InstallParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
python_version_list: ''
|
||||
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||
|
||||
Install:
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- InstallParams
|
||||
|
||||
@@ -58,7 +58,7 @@ Simple Example
|
||||
|
||||
jobs:
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
with:
|
||||
artifact: Package
|
||||
|
||||
@@ -70,7 +70,7 @@ Complex Example
|
||||
|
||||
jobs:
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
with:
|
||||
|
||||
@@ -63,7 +63,7 @@ by a Git tag. A secret is forwarded from GitHub secrets to a job secret.
|
||||
# ...
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r7
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
with:
|
||||
artifact: Package
|
||||
@@ -87,7 +87,7 @@ by that job. Finally, the list of requirements is overwritten to load a list of
|
||||
# ...
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r7
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- Params
|
||||
|
||||
Reference in New Issue
Block a user