diff --git a/.github/workflows/build-numpy.yml b/.github/workflows/build-numpy.yml index a43b632..5499c5c 100644 --- a/.github/workflows/build-numpy.yml +++ b/.github/workflows/build-numpy.yml @@ -5,31 +5,30 @@ on: workflow_dispatch: inputs: version: - description: 'numpy version to build (git tag without leading v, e.g. 2.5.0)' + description: 'numpy version to build (git tag without leading v, e.g. 2.5.1)' required: true - default: '2.5.0' + default: '2.5.1' pull_request: paths: - '.github/workflows/build-numpy.yml' - 'actions/publish-to-gitlab/**' concurrency: - group: ${{ github.workflow }}-${{ inputs.version || '2.5.0' }}-${{ github.head_ref || github.run_id }} + group: ${{ github.workflow }}-${{ inputs.version || '2.5.1' }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true permissions: contents: read # to fetch code (actions/checkout) env: - # `inputs.version` is empty on pull_request events; default to 2.5.0 there. - NUMPY_VERSION: ${{ inputs.version || '2.5.0' }} + NUMPY_VERSION: ${{ inputs.version || '2.5.1' }} UV_EXTRA_INDEX_URL: https://pypi.riseproject.dev/simple/ UV_INDEX_STRATEGY: unsafe-best-match UV_ONLY_BINARY: ':all:' jobs: build_wheels: - name: Build numpy ${{ inputs.version || '2.5.0' }} ${{ matrix.python }}-manylinux_riscv64 + name: Build numpy ${{ inputs.version || '2.5.1' }} ${{ matrix.python }}-manylinux_riscv64 runs-on: ubuntu-24.04-riscv strategy: fail-fast: false @@ -48,12 +47,6 @@ jobs: # `{project}/tools/wheels/cibw_before_build.sh`, which only works when # CWD == numpy root at cibuildwheel invocation time. python-wheels is # placed under `python-wheels-repo/` to free the workspace root for numpy. - - name: Checkout python-wheels - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - path: python-wheels-repo - persist-credentials: false - - name: Checkout numpy v${{ env.NUMPY_VERSION }} uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: @@ -102,7 +95,7 @@ jobs: if-no-files-found: error publish: - name: Publish numpy ${{ inputs.version || '2.5.0' }} to GitLab + name: Publish numpy ${{ inputs.version || '2.5.1' }} to GitLab needs: build_wheels # Only publish when the workflow was triggered from main with a specific # version. Manual trigger is the only entry point, so checking the ref is @@ -127,7 +120,7 @@ jobs: merge-multiple: true - name: Publish to GitLab PyPI registry - uses: ./python-wheels-repo/actions/publish-to-gitlab + uses: riseproject-dev/python-wheels/actions/publish-to-gitlab@main with: gitlab-username: ${{ vars.GITLAB_DEPLOY_USER }} gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }}