File tree Expand file tree Collapse file tree 3 files changed +8
-23
lines changed
Expand file tree Collapse file tree 3 files changed +8
-23
lines changed Original file line number Diff line number Diff line change 2727 name : Build and deploy docs
2828 needs : [doc_checks]
2929 uses : ./.github/workflows/docs.yaml
30+ with :
31+ ref : ${{ needs.update_changelog.outputs.changelog_commitish }}
3032 secrets : inherit
3133
3234 pre_release :
Original file line number Diff line number Diff line change @@ -28,31 +28,20 @@ jobs:
2828 release_type : prerelease
2929 existing_changelog_path : CHANGELOG.md
3030
31- run_code_checks :
32- name : Run code checks
33- uses : ./.github/workflows/code_checks.yaml
34-
3531 update_changelog :
3632 name : Update changelog
37- needs : [release_metadata, run_code_checks ]
33+ needs : [release_metadata]
3834 uses : apify/workflows/.github/workflows/python_bump_and_update_changelog.yaml@main
3935 with :
4036 version_number : ${{ needs.release_metadata.outputs.version_number }}
4137 changelog : ${{ needs.release_metadata.outputs.changelog }}
4238 secrets :
4339 APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
4440
45- build_and_deploy_docs :
46- needs : [update_changelog]
47- uses : ./.github/workflows/docs.yaml
48- with :
49- ref : ${{ needs.update_changelog.outputs.changelog_commitish }}
50- secrets : inherit
51-
5241 publish_to_pypi :
5342 if : " !startsWith(github.event.head_commit.message, 'ci') && !startsWith(github.event.head_commit.message, 'docs')"
5443 name : Publish to PyPI
55- needs : [release_metadata, run_code_checks, update_changelog]
44+ needs : [update_changelog]
5645 runs-on : ubuntu-latest
5746 permissions :
5847 contents : write
6857 is_prerelease : " yes"
6958 version_number : ${{ needs.release_metadata.outputs.version_number }}
7059 ref : ${{ needs.update_changelog.outputs.changelog_commitish }}
60+
7161 # Publishes the package to PyPI using PyPA official GitHub action with OIDC authentication.
7262 - name : Publish package to PyPI
7363 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 6565 secrets :
6666 APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
6767
68- build_and_deploy_docs :
69- needs : [update_changelog]
70- uses : ./.github/workflows/docs.yaml
71- with :
72- ref : ${{ needs.update_changelog.outputs.changelog_commitish }}
73- secrets : inherit
74-
7568 create_github_release :
76- name : Create github release
77- needs : [release_metadata, update_changelog]
69+ name : Create GitHub release
70+ needs : [update_changelog]
7871 runs-on : ubuntu-latest
7972 env :
8073 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8982
9083 publish_to_pypi :
9184 name : Publish to PyPI
92- needs : [release_metadata, update_changelog]
85+ needs : [update_changelog]
9386 runs-on : ubuntu-latest
9487 permissions :
9588 contents : write
You can’t perform that action at this time.
0 commit comments