Skip to content

Commit

Permalink
Move PyPI publishing to shared workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar committed Oct 21, 2024
1 parent 5a8a8cb commit c2900d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 77 deletions.
75 changes: 0 additions & 75 deletions .github/workflows/_publish_to_pypi.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/pre_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ jobs:
publish_to_pypi:
name: Publish to PyPI
needs: [release_metadata, update_changelog]
uses: ./.github/workflows/_publish_to_pypi.yaml
uses: apify/workflows/.github/workflows/python_publish_to_pypi.yaml@release-metadata-action # TODO change branch to main
with:
package_name: crawlee
version_number: ${{ needs.release_metadata.outputs.version_number }}
ref: ${{ needs.update_changelog.changelog_commitish }}
is_prerelease: "yes"

# TODO: add job for publish package to Conda
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@ jobs:
publish_to_pypi:
name: Publish to PyPI
needs: [release_metadata, update_changelog]
uses: ./.github/workflows/_publish_to_pypi.yaml
uses: apify/workflows/.github/workflows/python_publish_to_pypi.yaml@release-metadata-action # TODO change branch to main
with:
package_name: crawlee
version_number: ${{ needs.release_metadata.outputs.version_number }}
ref: ${{ needs.update_changelog.changelog_commitish }}
is_prerelease: ''

# TODO: add job for publish package to Conda
Expand Down

0 comments on commit c2900d7

Please sign in to comment.