revert: integrate gha-timer for step timing
This reverts commit e5f5084931
.
This commit is contained in:
12
action.yml
12
action.yml
@@ -18,8 +18,6 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: fulcrumgenomics/gha-timer@v1
|
||||
|
||||
- name: Detect version change
|
||||
shell: bash
|
||||
id: detect
|
||||
@@ -28,17 +26,7 @@ runs:
|
||||
GITHUB_SHA: ${{ github.sha || '' }}
|
||||
GITHUB_REF: ${{ github.ref || '' }}
|
||||
run: |
|
||||
gha-timer start --name "Detect Version Change"
|
||||
|
||||
${{ github.action_path }}/scripts/detect-version-change.sh
|
||||
exit_code=$?
|
||||
|
||||
if [[ $exit_code -eq 0 ]]; then
|
||||
gha-timer elapsed --outcome success --name "Detect Version Change"
|
||||
else
|
||||
gha-timer elapsed --outcome failure --name "Detect Version Change"
|
||||
exit $exit_code
|
||||
fi
|
||||
|
||||
- name: Read CLIFF_VERSION
|
||||
shell: bash
|
||||
|
Reference in New Issue
Block a user