From e863743fce52df691a5360d4e58a56f6a856b641 Mon Sep 17 00:00:00 2001 From: Alex Petty Date: Thu, 29 Feb 2024 13:34:53 -0600 Subject: [PATCH] Fix yaml indentation? --- .github/workflows/build_python_wheels.yaml | 56 +++++++++++----------- .github/workflows/check_build_macos.yaml | 14 +++--- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/build_python_wheels.yaml b/.github/workflows/build_python_wheels.yaml index 00b53f0a..8313c9f5 100644 --- a/.github/workflows/build_python_wheels.yaml +++ b/.github/workflows/build_python_wheels.yaml @@ -13,31 +13,31 @@ jobs: os: [ ubuntu-latest, windows-latest, macos-14 ] steps: - - uses: actions/checkout@v4 - - - name: Set up QEMU for aarch64 emulation - if: runner.os == 'Linux' - uses: docker/setup-qemu-action@v3 - with: - platforms: all - - - name: Create sdist and unpack into ./sdist/Pgenlib-latest - working-directory: ./2.0/Python - run: | - pipx run build --sdist - mkdir sdist - tar -xf ./dist/Pgenlib-*.tar.gz -C ./sdist - mv ./sdist/* Pgenlib-latest/ - - - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 - with: - package-dir: ./2.0/Python/sdist/Pgenlib-latest - env: - CIBW_ARCHS_LINUX: x86_64 aarch64 - CIBW_ARCHS_MACOS: x86_64 aarch64 - - - uses: actions/upload-artifact@v4 - with: - name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} - path: ./wheelhouse/*.whl + - uses: actions/checkout@v4 + + - name: Set up QEMU for aarch64 emulation + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v3 + with: + platforms: all + + - name: Create sdist and unpack into ./sdist/Pgenlib-latest + working-directory: ./2.0/Python + run: | + pipx run build --sdist + mkdir sdist + tar -xf ./dist/Pgenlib-*.tar.gz -C ./sdist + mv ./sdist/* Pgenlib-latest/ + + - name: Build wheels + uses: pypa/cibuildwheel@v2.16.5 + with: + package-dir: ./2.0/Python/sdist/Pgenlib-latest + env: + CIBW_ARCHS_LINUX: x86_64 aarch64 + CIBW_ARCHS_MACOS: x86_64 aarch64 + + - uses: actions/upload-artifact@v4 + with: + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} + path: ./wheelhouse/*.whl diff --git a/.github/workflows/check_build_macos.yaml b/.github/workflows/check_build_macos.yaml index 540ccf74..1d03d9cc 100644 --- a/.github/workflows/check_build_macos.yaml +++ b/.github/workflows/check_build_macos.yaml @@ -13,13 +13,13 @@ jobs: os: [ macos-14 ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v5 - - name: Run build - working-directory: ./2.0/Python - run: | - "${{ steps.python.outputs.python-path }}" -m pip install pipx - pipx run build + - name: Run build + working-directory: ./2.0/Python + run: | + "${{ steps.python.outputs.python-path }}" -m pip install pipx + pipx run build