1- name : Create a release
1+ name : Stable release
22
33on :
4- # Trigger a stable version release via GitHub's UI, with the ability to specify the type of release.
4+ # Runs when manually triggered from the GitHub UI, with options to specify the type of release.
55 workflow_dispatch :
66 inputs :
77 release_type :
@@ -26,8 +26,13 @@ concurrency:
2626 cancel-in-progress : false
2727
2828jobs :
29+ code_checks :
30+ name : Code checks
31+ uses : ./.github/workflows/_check_code.yaml
32+
2933 release_metadata :
3034 name : Prepare release metadata
35+ needs : [code_checks]
3136 runs-on : ubuntu-latest
3237 outputs :
3338 version_number : ${{ steps.release_metadata.outputs.version_number }}
4348 custom_version : ${{ inputs.custom_version }}
4449 existing_changelog_path : CHANGELOG.md
4550
46- lint_check :
47- name : Lint check
48- uses : apify/workflows/.github/workflows/python_lint_check.yaml@main
49- with :
50- python-versions : ' ["3.10", "3.11", "3.12", "3.13", "3.14"]'
51-
52- type_check :
53- name : Type check
54- uses : apify/workflows/.github/workflows/python_type_check.yaml@main
55- with :
56- python-versions : ' ["3.10", "3.11", "3.12", "3.13", "3.14"]'
57-
58- async_docstrings :
59- name : Async dostrings check
60- uses : ./.github/workflows/_async_docstrings_check.yaml
61-
6251 update_changelog :
6352 name : Update changelog
64- needs : [release_metadata, lint_check, type_check ]
53+ needs : [release_metadata]
6554 uses : apify/workflows/.github/workflows/python_bump_and_update_changelog.yaml@main
6655 with :
6756 version_number : ${{ needs.release_metadata.outputs.version_number }}
7059 APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
7160
7261 create_github_release :
73- name : Create github release
62+ name : Create GitHub release
7463 needs : [release_metadata, update_changelog]
7564 runs-on : ubuntu-latest
7665 env :
10594 # Publishes the package to PyPI using PyPA official GitHub action with OIDC authentication.
10695 - name : Publish package to PyPI
10796 uses : pypa/gh-action-pypi-publish@release/v1
97+
98+ # TODO: add job for publish package to Conda
99+ # https://github.com/apify/crawlee-python/issues/104
0 commit comments