Skip to content

Commit

Permalink
fixL use the correct source (#1642)
Browse files Browse the repository at this point in the history
* fixL use the correct source

* fix: use github action path

* fix: bonus slash

* fix: use GITHUB_ACTION_PATH

* fix: slashy

* Update action.yml
  • Loading branch information
thomasrockhu-codecov authored Nov 13, 2024
1 parent 6018df7 commit 193421c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,10 @@ inputs:
description: 'Directory in which to execute codecov.sh'
required: false

steps:
- run:
name: Upload to Codecov
command: <<include(scripts/dist/codecov.sh)>>
when: << parameters.when >>
branding:
color: 'red'
icon: 'umbrella'

runs:
using: "composite"
steps:
Expand All @@ -180,7 +176,7 @@ runs:
fi
fi
- name: Upload coverage to Codecov
run: ./dist/codecov.sh
run: ${GITHUB_ACTION_PATH}/dist/codecov.sh
shell: bash
working-directory: ${{ inputs.working-directory }}
env:
Expand Down

0 comments on commit 193421c

Please sign in to comment.