Skip to content

Commit

Permalink
Complete release action for FT builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Oct 24, 2024
1 parent fe97888 commit ab38dcb
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/build_ft_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
path: dist/*.whl
retention-days: 1

bdist-wheels-linux-aarch64:
bdist-wheels-linux-arm64:
runs-on: ${{ matrix.info.machine }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -103,3 +103,33 @@ jobs:
path: dist/*.whl
retention-days: 1

collect-artifacts:
runs-on: ubuntu-22.04
needs: ['bdist-wheels', 'bdist-wheels-windows', 'bdist-wheels-linux-arm64']
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: download-artifacts
- name: collect-artifacts.sh
run: .github/scripts/collect-artifacts.sh
- uses: actions/upload-artifact@v4
with:
name: jpy-ft
path: collect-artifacts

release-artifacts:
if: ${{ startsWith(github.ref, 'refs/heads/release/v') }}
runs-on: ubuntu-22.04
needs: ['collect-artifacts']
steps:
- uses: actions/download-artifact@v4
with:
name: jpy-ft
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit ab38dcb

Please sign in to comment.