Skip to content

Commit

Permalink
fix: add verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Nov 3, 2023
1 parent f502ec2 commit a764d88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
run: npm run test
- name: Upload to Codecov
uses: codecov/codecov-action@v4-beta
with:
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,10 @@ branding:
runs:
using: "composite"
steps:
- name: what is token
run: echo ${CODECOV_TOKEN}
shell: bash
- id: codecov-ats
run: ./codecov_ats.sh
shell: bash
env:
INPUTS_CODECOV_TOKEN: ${{ inputs.token }}
INPUTS_CODECOV_STATIC_TOKEN: ${{ inputs.static_token }}
INPUTS_VERBOSE: ${{ inputs.verbose }}
6 changes: 2 additions & 4 deletions codecov_ats.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
set -x

echo "token:"
echo $CODECOV_TOKEN
#!/usr/bin/env bash

[[ $INPUTS_VERBOSE == true ]] && set -x

pip install codecov-cli

Expand Down

0 comments on commit a764d88

Please sign in to comment.