Skip to content

Commit

Permalink
ci: Add workflow dispatch for pre-release workflow (#371)
Browse files Browse the repository at this point in the history
To be able to solve issues like this -
https://github.com/apify/apify-sdk-python/actions/runs/12671344582/job/35314370843,
by manual re-run.
  • Loading branch information
vdusek authored Jan 10, 2025
1 parent a9c01f2 commit 550fb93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pre_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
tags-ignore:
- "**" # Ignore all tags to prevent duplicate builds when tags are pushed.

# Or it can be triggered manually.
workflow_dispatch:

jobs:
release_metadata:
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
Expand Down Expand Up @@ -65,7 +68,7 @@ jobs:
steps:
- name: Prepare distribution
uses: apify/workflows/prepare-pypi-distribution@main
with:
with:
package_name: apify
is_prerelease: "yes"
version_number: ${{ needs.release_metadata.outputs.version_number }}
Expand Down

0 comments on commit 550fb93

Please sign in to comment.