Skip to content

Commit ae7cf06

Browse files
committed
no extra job for exe
1 parent 5c49d39 commit ae7cf06

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎template/.github/workflows/release.yaml.jinja‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,14 @@ jobs:
224224
print(f"Installed distribution version: {installed} (expected {expected})")
225225
assert installed == expected, f"Version mismatch: expected {expected}, got {installed}"
226226
PY
227-
{% endraw %}{% endif %}{% raw %}
228227

229228
create-tag:
230229
name: Create the git tag
231230
if: ${{ !inputs.dry_run }}
232231
timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %}
233232
needs:
234-
{% endraw %}{% if not deploy_as_executable %}{% raw %} - install-from-staging
235-
{% endraw %}{% endif %}{% raw %} - guard
233+
- install-from-staging
234+
- guard
236235
permissions:
237236
contents: write # needed to push the tag
238237
runs-on: {% endraw %}{{ gha_linux_runner }}{% raw %}
@@ -247,7 +246,6 @@ jobs:
247246
run: python3 ./.github/workflows/git_tag.py --version "${{ needs.guard.outputs.version }}" --confirm-tag-not-present
248247
- name: Create tag
249248
run: python3 ./.github/workflows/git_tag.py --version "${{ needs.guard.outputs.version }}" --push-tag-to-remote
250-
{% endraw %}{% if not deploy_as_executable %}{% raw %}
251249

252250
publish-to-primary:
253251
name: Publish Python distribution to Primary Package Registry
@@ -388,7 +386,6 @@ jobs:
388386
timeout-minutes: {% endraw %}{{ gha_short_timeout_minutes }}{% raw %}
389387
needs:
390388
{% endraw %}{% if not deploy_as_executable %}{% raw %} - install-from-primary
391-
{% endraw %}{% else %}{% raw %} - create-tag
392389
{% endraw %}{% endif %}{% raw %} - guard
393390
permissions:
394391
contents: write # needed to create GitHub releases{% endraw %}{% if deploy_as_executable %}{% raw %}

0 commit comments

Comments
 (0)