Bump docker/login-action from 2 to 3 #69
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Wheel Tree | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '**' | |
pull_request: | |
concurrency: | |
# SHA is added to the end if on `main` to let all main workflows run | |
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }} | |
cancel-in-progress: true | |
jobs: | |
build-wheels: | |
runs-on: ubuntu-latest | |
container: quay.io/pypa/manylinux_2_28_x86_64 | |
steps: | |
- name: Add safe git directory | |
uses: Chia-Network/actions/git-mark-workspace-safe@main | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Create venv | |
run: /opt/python/cp38-cp38/bin/python3 -m venv venv | |
- name: Create Wheels | |
run: | | |
. ./venv/bin/activate | |
pip wheel -w dist . | |
- name: Run audit wheel on all the wheels | |
run: | | |
. ./venv/bin/activate | |
for FILE in dist/*.whl; do | |
auditwheel repair --no-update-tags -w dist $FILE || true | |
done | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: wheels | |
path: ./dist |