Skip to content

Commit fc8baa4

Browse files
committed
Remove codecov cli specific github release upload
1 parent 0bc856e commit fc8baa4

File tree

2 files changed

+8
-33
lines changed

2 files changed

+8
-33
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
path: ./prevent-cli/dist/sentry-prevent-cli_*
159159

160160
package_artifacts:
161-
# Craft requires one artifact named after the long commit sha of the release
161+
# Craft requires one artifact named after the long commit sha of the release.
162162
name: Package assets for Craft
163163
runs-on: ubuntu-latest
164164
needs: [build_for_pypi, build_assets, build_linux_assets]

.github/workflows/release-codecov-cli.yml

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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.
33
name: Build and publish codecov-cli
44

55
on:
@@ -10,8 +10,12 @@ permissions:
1010
contents: read
1111

1212
jobs:
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
@@ -32,37 +36,8 @@ jobs:
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

Comments
 (0)