55 workflow_dispatch :
66 inputs :
77 version :
8- description : ' numpy version to build (git tag without leading v, e.g. 2.5.0 )'
8+ description : ' numpy version to build (git tag without leading v, e.g. 2.5.1 )'
99 required : true
10- default : ' 2.5.0 '
10+ default : ' 2.5.1 '
1111 pull_request :
1212 paths :
1313 - ' .github/workflows/build-numpy.yml'
1414 - ' actions/publish-to-gitlab/**'
1515
1616concurrency :
17- group : ${{ github.workflow }}-${{ inputs.version || '2.5.0 ' }}-${{ github.head_ref || github.run_id }}
17+ group : ${{ github.workflow }}-${{ inputs.version || '2.5.1 ' }}-${{ github.head_ref || github.run_id }}
1818 cancel-in-progress : true
1919
2020permissions :
2121 contents : read # to fetch code (actions/checkout)
2222
2323env :
24- # `inputs.version` is empty on pull_request events; default to 2.5.0 there.
25- NUMPY_VERSION : ${{ inputs.version || '2.5.0' }}
24+ NUMPY_VERSION : ${{ inputs.version || '2.5.1' }}
2625 UV_EXTRA_INDEX_URL : https://pypi.riseproject.dev/simple/
2726 UV_INDEX_STRATEGY : unsafe-best-match
2827 UV_ONLY_BINARY : ' :all:'
2928
3029jobs :
3130 build_wheels :
32- name : Build numpy ${{ inputs.version || '2.5.0 ' }} ${{ matrix.python }}-manylinux_riscv64
31+ name : Build numpy ${{ inputs.version || '2.5.1 ' }} ${{ matrix.python }}-manylinux_riscv64
3332 runs-on : ubuntu-24.04-riscv
3433 strategy :
3534 fail-fast : false
4847 # `{project}/tools/wheels/cibw_before_build.sh`, which only works when
4948 # CWD == numpy root at cibuildwheel invocation time. python-wheels is
5049 # placed under `python-wheels-repo/` to free the workspace root for numpy.
51- - name : Checkout python-wheels
52- uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
53- with :
54- path : python-wheels-repo
55- persist-credentials : false
56-
5750 - name : Checkout numpy v${{ env.NUMPY_VERSION }}
5851 uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
5952 with :
10295 if-no-files-found : error
10396
10497 publish :
105- name : Publish numpy ${{ inputs.version || '2.5.0 ' }} to GitLab
98+ name : Publish numpy ${{ inputs.version || '2.5.1 ' }} to GitLab
10699 needs : build_wheels
107100 # Only publish when the workflow was triggered from main with a specific
108101 # version. Manual trigger is the only entry point, so checking the ref is
@@ -127,7 +120,7 @@ jobs:
127120 merge-multiple : true
128121
129122 - name : Publish to GitLab PyPI registry
130- uses : . /python-wheels-repo /actions/publish-to-gitlab
123+ uses : riseproject-dev /python-wheels/actions/publish-to-gitlab@main
131124 with :
132125 gitlab-username : ${{ vars.GITLAB_DEPLOY_USER }}
133126 gitlab-token : ${{ secrets.GITLAB_DEPLOY_TOKEN }}
0 commit comments