1- # This workflow publishes the codecov-cli assets to PyPI, GitHub releases, and
2- # our GCS bucket when a release is created.
1+ # This workflow publishes the codecov-cli assets to PyPI and our GCS bucket
2+ # when a release is created.
33name : Build and publish codecov-cli
44
55on :
@@ -10,8 +10,12 @@ permissions:
1010 contents : read
1111
1212jobs :
13+ test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - run : echo "hi from build and publish codecov-cli"
17+
1318 # publish_to_pypi:
14- # needs: build_for_pypi
1519 # permissions:
1620 # id-token: write # This is required for OIDC
1721 # runs-on: ubuntu-latest
3236 # verbose: true
3337 # packages-dir: codecov-cli/dist
3438
35- publish_to_github :
36- runs-on : ubuntu-latest
37- steps :
38- - name : Download build artifacts
39- uses : dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
40- with :
41- branch : release/${{ github.ref }}
42- name : codecov.*
43- name_is_regexp : true
44- path : codecov-cli/dist
45-
46- - name : Get auth token
47- id : token
48- uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
49- with :
50- app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
51- private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
52-
53- - name : Upload Release Asset
54- id : upload-release-asset
55- uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2.11.2
56- with :
57- repo_token : ${{ steps.token.outputs.token }}
58- file_glob : true
59- file : ./codecov-cli/dist/*
60- tag : ${{ github.ref }}
61- overwrite : true
62-
6339 # publish_release:
6440 # name: Publish release
65- # needs: [build_assets, build_linux_assets, build_for_pypi, publish_to_pypi]
6641 # runs-on: ubuntu-latest
6742 # permissions:
6843 # contents: "read"
0 commit comments