Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
ericqu committed Dec 19, 2024
1 parent 4f5bff8 commit fa71415
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/release_build_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,26 @@ jobs:
name: wheel-${{ matrix.package }}-${{ matrix.os }}-${{ matrix.architecture }}
path: dist/*.whl

publish_them:
needs: [create-sdist, build-wheels]
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ github.event.inputs.version }}
files: |
dist/*.whl
dist/*.tar.gz
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to Crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish -p iban_validation_rs
# publish-to-pypi:
# needs: [create-sdist, build-wheels]
# environment:
Expand Down Expand Up @@ -208,15 +228,3 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAG: ${{ steps.github-release.outputs.tag_name }}

# - name: Trigger other workflows related to the release
# if: inputs.dry-run == false
# uses: peter-evans/repository-dispatch@v3
# with:
# event-type: python-release
# client-payload: >
# {
# "version": "${{ steps.version.outputs.version }}",
# "is_prerelease": "${{ steps.version.outputs.is_prerelease }}",
# "tag": "${{ steps.github-release.outputs.tag_name }}",
# "sha": "${{ inputs.sha || github.sha }}"
# }

0 comments on commit fa71415

Please sign in to comment.