From fe40b83a048f4376c7352ea46b3ade95381147c4 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 13 Nov 2024 14:07:05 -0500 Subject: [PATCH] fix: use github action path --- action.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 5bc208eaf..e9096f8dc 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: