Skip to content

Deploy release artifacts #149

Deploy release artifacts

Deploy release artifacts #149

Workflow file for this run

---
name: Deploy release artifacts
on:
push:
tags:
- '*'
jobs:
build-core:
name: Build core
uses: ./.github/workflows/wheels-build.yml
with:
artifact-prefix: "deploy-core-"
default-action: "skip"
wheels-tier-1: "build"
wheels-32bit: "build"
sdist: "build"
upload-core:
name: Deploy core
needs: ["build-core"]
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: 'deploy-core-*'
merge-multiple: true
path: deploy
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: deploy
build-others:
name: Build others
needs: ["upload-core"]
uses: ./.github/workflows/wheels-build.yml
with:
artifact-prefix: "deploy-others-"
default-action: "build"
wheels-tier-1: "skip"
wheels-32bit: "skip"
sdist: "skip"
upload-others:
name: Deploy other
needs: ["build-others"]
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: 'deploy-others-*'
merge-multiple: true
path: deploy
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: deploy