File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 - name : Run type checking
4747 run : make typecheck
4848
49- prepare-release :
50- runs-on : ubuntu-latest
49+ - name : Build packages
50+ run : make build
51+
52+ publish :
53+ name : Publish to PyPI
5154 needs : build
55+ environment : production
56+ runs-on :
57+ group : package-deploy # environment: production # require manual approval for production deployments
58+
5259 steps :
5360 # https://github.com/actions/checkout
5461 - name : Checkout
6269 - name : Build packages
6370 run : make build
6471
65- - name : Upload release artifacts
66- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
67- with :
68- name : release-artifacts-${{ needs.build.outputs.version }}
69- path : |
70- packages/*/dist/
71- .changeset/**
72- retention-days : 7
73-
74- publish :
75- name : Publish to PyPI
76- needs : [build, prepare-release]
77- environment : production
78- runs-on :
79- group : package-deploy # environment: production # require manual approval for production deployments
80-
81- steps :
82- - name : Download release artifacts
83- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
84- with :
85- name : release-artifacts-${{ needs.build.outputs.version }}
86- path : .
87-
8872 - name : Prepare packages for publishing
8973 run : |
9074 mkdir -p dist-to-publish
You can’t perform that action at this time.
0 commit comments