1919 using : composite
2020 steps :
2121 - name : Drop Git tags from HEAD for non-tag-create events
22- # if: >-
23- # fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
2422 if : >-
25- fromJSON(inputs.calling-job-context).toxenv == 'cleanup-dists, build-dists'
23+ fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
2624 && !fromJSON(
2725 fromJSON(
2826 inputs.job-dependencies-context
3533 shell : bash
3634
3735 - name : Setup git user as [bot]
38- # if: >-
39- # fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
4036 if : >-
41- fromJSON(inputs.calling-job-context).toxenv == 'cleanup-dists, build-dists'
37+ fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
4238 && (
4339 fromJSON(
4440 fromJSON(
6056 ).pre-setup.outputs.git-tag
6157 }}
6258 for setuptools-scm to set the desired version
63- # if: >-
64- # fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
6559 if: >-
66- fromJSON(inputs.calling-job-context).toxenv == 'cleanup-dists, build-dists'
60+ fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
6761 && fromJSON(
6862 fromJSON(
6963 inputs.job-dependencies-context
8680 shell: bash
8781
8882 - name : Install tomlkit Python distribution package
89- # if: >-
90- # fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
9183 if : >-
92- fromJSON(inputs.calling-job-context).toxenv == 'cleanup-dists, build-dists'
84+ fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
9385 && fromJSON(
9486 fromJSON(
9587 inputs.job-dependencies-context
9991 python -m pip install --user tomlkit
10092 shell : bash
10193 - name : Instruct setuptools-scm not to add a local version part
102- # if: >-
103- # fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
10494 if : >-
105- fromJSON(inputs.calling-job-context).toxenv == 'cleanup-dists, build-dists'
95+ fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
10696 && fromJSON(
10797 fromJSON(
10898 inputs.job-dependencies-context
@@ -122,10 +112,8 @@ runs:
122112 pyproject_toml_path.write_text(patched_pyproject_toml_txt)
123113 shell : python
124114 - name : Pretend that pyproject.toml is unchanged
125- # if: >-
126- # fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
127115 if : >-
128- fromJSON(inputs.calling-job-context).toxenv == 'cleanup-dists, build-dists'
116+ fromJSON(inputs.calling-job-context).toxenv == 'build-dists'
129117 && fromJSON(
130118 fromJSON(
131119 inputs.job-dependencies-context
0 commit comments