From 2bb540e88f60fb07b530bcc6da32016c6670a1a1 Mon Sep 17 00:00:00 2001 From: liufang Date: Mon, 18 Mar 2024 11:50:00 +0000 Subject: [PATCH] fix: change aarch build script --- .github/workflows/windows_python_build.yml | 2 +- .github/workflows/windows_python_release.yml | 27 ++++++++++---------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/windows_python_build.yml b/.github/workflows/windows_python_build.yml index 9a12001..a60ef21 100644 --- a/.github/workflows/windows_python_build.yml +++ b/.github/workflows/windows_python_build.yml @@ -15,7 +15,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.10' diff --git a/.github/workflows/windows_python_release.yml b/.github/workflows/windows_python_release.yml index 16155d7..e4e10dc 100644 --- a/.github/workflows/windows_python_release.yml +++ b/.github/workflows/windows_python_release.yml @@ -12,15 +12,15 @@ permissions: id-token: write pull-requests: read -jobs: - windows_python310_release: - runs-on: windows-latest +jobs: + windows_cp38_release: + runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.8' - name: Check cmake run: cmake --version - name: Install python-dev-tools @@ -32,14 +32,14 @@ jobs: run: cmake --build build --config release - name: Upload Pypi run: twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} build/python/dist/*.whl - windows_python38_release: - runs-on: windows-latest + windows_cp39_release: + runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.9' - name: Check cmake run: cmake --version - name: Install python-dev-tools @@ -51,14 +51,14 @@ jobs: run: cmake --build build --config release - name: Upload Pypi run: twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} build/python/dist/*.whl - windows_python39_release: + windows_cp310_release: runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.10' - name: Check cmake run: cmake --version - name: Install python-dev-tools @@ -70,7 +70,7 @@ jobs: run: cmake --build build --config release - name: Upload Pypi run: twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} build/python/dist/*.whl - windows_python311_release: + windows_cp311_release: runs-on: windows-latest steps: - name: Checkout @@ -89,11 +89,11 @@ jobs: run: cmake --build build --config release - name: Upload Pypi run: twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} build/python/dist/*.whl - windows_python312_release: + windows_cp312_release: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.12' @@ -108,7 +108,8 @@ jobs: run: cmake --build build --config release - name: Upload Pypi run: twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} build/python/dist/*.whl - + + # pypy3.8 # - name: Publish package # uses: pypa/gh-action-pypi-publish@release/v1 # with: