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 65
65
name : cibw-wheels-${{ matrix.os }}
66
66
path : ./wheelhouse/*.whl
67
67
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 9
9
- created
10
10
11
11
jobs :
12
- build_and_publish_to_pypi :
12
+ build_for_pypi :
13
13
permissions :
14
14
id-token : write # This is required for requesting the JWT
15
15
contents : read # This is required for actions/checkout
25
25
release : true
26
26
secrets : inherit
27
27
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
+
28
59
publish_release :
29
60
name : Publish release
30
- needs : [buildassets, build_and_publish_to_pypi ]
61
+ needs : [buildassets, publish_to_pypi ]
31
62
runs-on : ubuntu-latest
32
63
permissions :
33
64
contents : ' read'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ license = {file = "LICENSE"}
26
26
name = " codecov-cli"
27
27
readme = " README.md"
28
28
requires-python = " >= 3.9"
29
- version = " 10.1.0 "
29
+ version = " 10.0.1 "
30
30
31
31
[project .scripts ]
32
32
codecov = " codecov_cli.main:run"
You can’t perform that action at this time.
0 commit comments