@@ -180,12 +180,13 @@ the default branch, and ``tag`` pulled ``main`` before tagging.
180180 again (``--clobber ``). ``conda ``'s upload is not gated on ``check_leg ``, so a
181181 leg whose Anaconda upload landed but whose GitHub upload failed still gets
182182 its asset on a re-run.
183- * Where it fails, it differs from the action deliberately. With no release for the tag, the
184- upload fails with ``gh ``'s "release not found", where the action made one,
185- with no notes and ``target_commitish `` unset (``src/github.ts:617-628,1026 ``),
186- which Create a release defaults to "the repository's default branch"; the
187- release is ``github ``'s to make, at the run's commit. A file pattern matching
188- nothing exits 1 with ``::error title=Nothing to upload ``, where the action,
183+ * ``gh release upload `` also fails, deliberately, where the action did not.
184+ With no release for the tag, the upload fails with ``gh ``'s
185+ "release not found", where the action made one, with no notes and
186+ ``target_commitish `` unset (``src/github.ts:617-628,1026 ``), which Create a
187+ release defaults to "the repository's default branch"; the release is
188+ ``github ``'s to make, at the run's commit. A file pattern matching nothing
189+ exits 1 with ``::error title=Nothing to upload ``, where the action,
189190 ``fail_on_unmatched_files `` unset, only warned (``src/run.ts:15-20 ``) and
190191 published the release without that file.
191192
@@ -391,23 +392,23 @@ this run, it *skipped*.
391392``cron-vendor.yml ``, ``deploy-pages.yml `` and ``cron-conda.yml `` each open
392393with ``!cancelled() && needs.unit-tests.result != 'failure' `` so that a
393394skipped gate does not cascade-skip them, while an outright failure or a
394- genuine run cancellation still does. The publishing jobs here are stricter about
395- their *publishing * predecessors -- ``github ``, and for `` conda `` also `` tag ``:
396- ``!cancelled() && (needs.<job>.result == 'success' || needs.<job>.result ==
397- 'skipped') ``, not ``!= 'failure' ``. The two spellings differ only when a
398- predecessor's own result is ``cancelled ``, which `` != 'failure' `` still admits
399- and the equality pair does not. Concretely: if `` tag `` is cancelled while the
400- run itself is not, ``!= 'failure' `` would let `` conda `` proceed into its
401- check that ``conda-<version>+0 `` names this run's commit, a tag `` tag `` never
402- pushed, trading a clean skip for a failed step; the equality pair skips
403- ``conda `` outright instead.
404-
405- ``version_check `` is the exception, and deliberately so: each of them requires
406- ``needs.version_check.result == 'success' `` with no `` || 'skipped' ``. It
407- produces the evidence the gates read, so a skipped or cancelled
408- ``version_check `` leaves them nothing to decide on. ``unit-tests `` is held to
409- the same bar for a different reason: it is the release test gate, and it skips
410- when nothing is publishable
395+ genuine run cancellation still does. `` tag ``, `` pypi `` and `` conda `` are
396+ stricter about their *publishing * predecessors -- ``github ``, and for
397+ ``conda `` also `` tag ``: `` !cancelled() && (needs.<job>.result == 'success' ||
398+ needs.<job>.result == 'skipped') ``, not ``!= 'failure' ``. The two spellings
399+ differ only when a predecessor's own result is ``cancelled ``, which
400+ `` != 'failure' `` still admits and the equality pair does not. Concretely: if
401+ `` tag `` is cancelled while the run itself is not, ``!= 'failure' `` would let
402+ `` conda `` proceed into its check that ``conda-<version>+0 `` names this run's
403+ commit, a tag `` tag `` never pushed, trading a clean skip for a failed step; the
404+ equality pair skips ``conda `` outright instead.
405+
406+ ``version_check `` is the exception, and deliberately so: `` tag ``, `` pypi `` and
407+ ``conda `` each require `` needs.version_check.result == 'success' `` with no
408+ `` || 'skipped' ``. It produces the evidence the gates read, so a skipped or
409+ cancelled ``version_check `` leaves them nothing to decide on. ``unit-tests `` is
410+ held to the same bar for a different reason: it is the release test gate, and
411+ it skips when nothing is publishable
411412(`#1052 <https://github.com/JarryShaw/PyPCAPKit/issues/1052 >`__), so accepting
412413``skipped `` there would publish untested. ``github `` names it in ``needs: `` instead and relies on the implicit
413414``success() ``. The gate's own ``if: `` is the union of the publishers'
0 commit comments