Skip to content

LinuxRelease_x86_64 #31

LinuxRelease_x86_64

LinuxRelease_x86_64 #31

name: LinuxRelease_x86_64
on:
release:
types: [published]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']
architecture: [ 'x64' ]
steps:
# Checkout the latest branch of Paddle2ONNX.
- name: Checkout Paddle2ONNX
uses: actions/checkout@v4
with:
submodules: true
- name: Build on manylinux_2_28_x86_64
uses: docker://quay.io/pypa/manylinux_2_28_x86_64:latest
with:
entrypoint: bash
args: .github/workflows/scripts/entrypoint.sh ${{ matrix.python-version }}
- uses: actions/[email protected]
with:
name: wheels
path: dist
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PADDLE2ONNX_API_TOKEN }}