From 193421c5b3d1aca4209c9754f224ca0d85729414 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:16:55 -0500 Subject: [PATCH] fixL use the correct source (#1642) * fixL use the correct source * fix: use github action path * fix: bonus slash * fix: use GITHUB_ACTION_PATH * fix: slashy * Update action.yml --- action.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 104b0d67c..bcbc9b942 100644 --- a/action.yml +++ b/action.yml @@ -147,14 +147,10 @@ inputs: description: 'Directory in which to execute codecov.sh' required: false -steps: - - run: - name: Upload to Codecov - command: <> - when: << parameters.when >> branding: color: 'red' icon: 'umbrella' + runs: using: "composite" steps: @@ -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: