From 2aafa135058ad0987cf93175af077f75f7ea2628 Mon Sep 17 00:00:00 2001 From: John Dumbell Date: Mon, 5 Aug 2024 16:01:22 +0100 Subject: [PATCH] Fix up bad CRC issue on deploy --- .github/workflows/deploy-wheels.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-wheels.yml b/.github/workflows/deploy-wheels.yml index 61f9cde..2f41205 100644 --- a/.github/workflows/deploy-wheels.yml +++ b/.github/workflows/deploy-wheels.yml @@ -3,6 +3,7 @@ name: deploy-wheels on: release: types: [released] + pull_request: jobs: deploy: @@ -10,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-20.04", "windows-2019", "macos-14", "macos-latest"] + os: ["ubuntu-20.04", "windows-2019", "macos-14"] steps: - uses: actions/checkout@v4 - name: Setup rust toolchain @@ -22,7 +23,7 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.10" - if: ${{ matrix.os != 'macos-14' && matrix.os != 'macos-latest' }} + if: ${{ matrix.os != 'macos-14' }} - name: Install LLVM uses: ./.github/actions/install-llvm with: @@ -53,6 +54,11 @@ jobs: permissions: id-token: write steps: + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - uses: actions/download-artifact@v4 with: pattern: rasqal-* @@ -62,4 +68,5 @@ jobs: - name: Publish to PyPi uses: pypa/gh-action-pypi-publish@release/v1 with: - packages-dir: dist/ \ No newline at end of file + packages-dir: dist/ + repository-url: https://test.pypi.org/legacy/ \ No newline at end of file