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: