This repository was archived by the owner on Jul 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +34
-34
lines changed
Expand file tree Collapse file tree 3 files changed +34
-34
lines changed Original file line number Diff line number Diff line change 6565 name : cibw-wheels-${{ matrix.os }}
6666 path : ./wheelhouse/*.whl
6767
68- publish_to_pypi :
69- if : inputs.publish == true || false
70- needs :
71- - build_dist_for_pypi
72- - build_src_for_pypi
73- permissions :
74- id-token : write # This is required for OIDC
75- runs-on : ubuntu-latest
76- environment :
77- name : pypi
78- url : https://pypi.org/p/codecov-cli
79- steps :
80- - name : Download artifacts
81- uses : actions/download-artifact@v4
82- with :
83- path : dist/
84- pattern : cibw-*
85- - name : Display and move artifacts
86- run : |
87- ls -alrt */*/*
88- mv */*/*/* dist/
89- mv */*/* dist/
90- echo "Moved files"
91- ls -alrt */*
92- echo "Deleting empty directories"
93- find . -empty -type d -delete
94- ls -alrt */*
95- - name : Publish package to PyPi
96- uses : pypa/gh-action-pypi-publish@release/v1
97- with :
98- verbose : true
Original file line number Diff line number Diff line change 99 - created
1010
1111jobs :
12- build_and_publish_to_pypi :
12+ build_for_pypi :
1313 permissions :
1414 id-token : write # This is required for requesting the JWT
1515 contents : read # This is required for actions/checkout
2525 release : true
2626 secrets : inherit
2727
28+ publish_to_pypi :
29+ if : inputs.publish == true || false
30+ needs :
31+ - build_for_pypi
32+ permissions :
33+ id-token : write # This is required for OIDC
34+ runs-on : ubuntu-latest
35+ environment :
36+ name : pypi
37+ url : https://pypi.org/p/codecov-cli
38+ steps :
39+ - name : Download artifacts
40+ uses : actions/download-artifact@v4
41+ with :
42+ path : dist/
43+ pattern : cibw-*
44+ - name : Display and move artifacts
45+ run : |
46+ ls -alrt */*/*
47+ mv */*/*/* dist/
48+ mv */*/* dist/
49+ echo "Moved files"
50+ ls -alrt */*
51+ echo "Deleting empty directories"
52+ find . -empty -type d -delete
53+ ls -alrt */*
54+ - name : Publish package to PyPi
55+ uses : pypa/gh-action-pypi-publish@release/v1
56+ with :
57+ verbose : true
58+
2859 publish_release :
2960 name : Publish release
30- needs : [buildassets, build_and_publish_to_pypi ]
61+ needs : [buildassets, publish_to_pypi ]
3162 runs-on : ubuntu-latest
3263 permissions :
3364 contents : ' read'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ license = {file = "LICENSE"}
2626name = " codecov-cli"
2727readme = " README.md"
2828requires-python = " >= 3.9"
29- version = " 10.1.0 "
29+ version = " 10.0.1 "
3030
3131[project .scripts ]
3232codecov = " codecov_cli.main:run"
You can’t perform that action at this time.
0 commit comments