Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 7 additions & 18 deletions .github/workflows/build-matplotlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,28 +173,17 @@ jobs:
# version. Manual trigger is the only entry point that reaches main;
# PR runs sit on refs/pull/<n>/merge and skip this job.
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-24.04-riscv
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
pull-requests: write

steps:
- name: Checkout python-wheels
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
path: python-wheels
persist-credentials: false

- name: Download wheels
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: matplotlib-${{ env.MPL_VERSION }}-cibw-wheels-riscv64
path: dist

- name: Publish to GitLab PyPI registry
uses: ./python-wheels/actions/publish-to-gitlab
- name: Publish wheels and open docs PR
uses: riseproject-dev/python-wheels/actions/publish-wheels@main
with:
artifact-pattern: matplotlib-${{ env.MPL_VERSION }}-*-manylinux_riscv64
gitlab-username: ${{ vars.GITLAB_DEPLOY_USER }}
gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }}
gitlab-project-id: ${{ vars.GITLAB_PROJECT_ID }}
files: |
dist/*.whl
gh-token: ${{ secrets.GITHUB_TOKEN }}
Loading