mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
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
This commit is contained in:
@@ -147,14 +147,10 @@ inputs:
|
|||||||
description: 'Directory in which to execute codecov.sh'
|
description: 'Directory in which to execute codecov.sh'
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
steps:
|
|
||||||
- run:
|
|
||||||
name: Upload to Codecov
|
|
||||||
command: <<include(scripts/dist/codecov.sh)>>
|
|
||||||
when: << parameters.when >>
|
|
||||||
branding:
|
branding:
|
||||||
color: 'red'
|
color: 'red'
|
||||||
icon: 'umbrella'
|
icon: 'umbrella'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
@@ -180,7 +176,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
run: ./dist/codecov.sh
|
run: ${GITHUB_ACTION_PATH}/dist/codecov.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user