diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index f637dfa..ebcc572 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -14,14 +14,14 @@ on: default: 'wheel' type: string artifact: - description: 'Name of the wheel artifact.' + description: 'Name of the package artifact.' required: true type: string jobs: Package: - name: 📦 Package in Wheel Format + name: 📦 Package in Source and Wheel Format runs-on: ubuntu-latest steps: diff --git a/.github/workflows/Params.yml b/.github/workflows/Params.yml index cd68544..5d6fc5e 100644 --- a/.github/workflows/Params.yml +++ b/.github/workflows/Params.yml @@ -40,12 +40,12 @@ jobs: run: | name = '${{ inputs.name }}' params = { - 'package': name, + 'name': name, 'python_version': '${{ inputs.python_version }}', 'artifacts': { 'coverage': f'{name}-coverage', 'typing': f'{name}-typing', - 'wheel': f'{name}-wheel', + 'package': f'{name}-package', 'doc': f'{name}-doc', } } diff --git a/.github/workflows/PublishOnPyPI.yml b/.github/workflows/PublishOnPyPI.yml index 650463c..eb4c702 100644 --- a/.github/workflows/PublishOnPyPI.yml +++ b/.github/workflows/PublishOnPyPI.yml @@ -14,7 +14,7 @@ on: default: 'wheel twine' type: string artifact: - description: 'Name of the wheel artifact.' + description: 'Name of the package artifact.' required: true type: string secrets: diff --git a/ExamplePipeline.yml b/ExamplePipeline.yml index c08ac2b..1f76246 100644 --- a/ExamplePipeline.yml +++ b/ExamplePipeline.yml @@ -40,7 +40,7 @@ jobs: needs: - Params with: - mypy_args: -m ${{ fromJson(needs.Params.outputs.params).package }} + mypy_args: -m ${{ fromJson(needs.Params.outputs.params).name }} artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }} # Optional python_version: ${{ fromJson(needs.Params.outputs.params).python_version }} @@ -62,7 +62,7 @@ jobs: - Params - Coverage with: - artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.wheel }} + artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.package }} # Optional python_version: ${{ fromJson(needs.Params.outputs.params).python_version }} requirements: 'wheel' @@ -75,7 +75,7 @@ jobs: - Release - Package with: - artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.wheel }} + artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.package }} # Optional python_version: ${{ fromJson(needs.Params.outputs.params).python_version }} requirements: 'wheel twine'