File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed
Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change 33name : Build and publish codecov-cli
44
55on :
6- release :
7- types : [published]
6+ push
7+ # release:
8+ # types: [published]
89
910permissions :
1011 contents : read
1112
1213jobs :
13- test :
14+ publish_to_pypi :
15+ permissions :
16+ id-token : write # This is required for OIDC
1417 runs-on : ubuntu-latest
18+ environment :
19+ name : pypi
20+ url : https://pypi.org/p/codecov-cli
1521 steps :
16- - run : echo "hi from build and publish codecov-cli"
22+ - name : Download pypi release assets
23+ uses : robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
24+ with :
25+ # tag: ${{ github.ref_name }}
26+ tag : " v11.0.6"
27+ fileName : codecov_cli-*
28+ out-file-path : codecov-cli/dist
1729
18- # publish_to_pypi:
19- # permissions:
20- # id-token: write # This is required for OIDC
21- # runs-on: ubuntu-latest
22- # environment:
23- # name: pypi
24- # url: https://pypi.org/p/codecov-cli
25- # steps:
26- # - name: Download build artifacts
27- # uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
28- # with:
29- # branch: release/${{ github.ref }}
30- # name: codecov-cli_wheel
31- # path: codecov-cli/dist
32- #
33- # - name: Publish package to PyPi
34- # uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
35- # with:
36- # verbose: true
37- # packages-dir: codecov-cli/dist
30+ - name : test
31+ run : ls -R codecov-cli/dist
32+
33+ # - name: Publish package to PyPi
34+ # uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
35+ # with:
36+ # verbose: true
37+ # packages-dir: codecov-cli/dist
3838
3939 # publish_release:
4040 # name: Publish release
You can’t perform that action at this time.
0 commit comments