-
Notifications
You must be signed in to change notification settings - Fork 2.4k
59 lines (58 loc) · 1.37 KB
/
wheels.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
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