Compare commits
2 Commits
5eafa06477
...
d11131d9b2
Author | SHA1 | Date | |
---|---|---|---|
d11131d9b2
|
|||
e5f5084931
|
12
action.yml
12
action.yml
@@ -18,6 +18,8 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
- uses: fulcrumgenomics/gha-timer@v1
|
||||||
|
|
||||||
- name: Detect version change
|
- name: Detect version change
|
||||||
shell: bash
|
shell: bash
|
||||||
id: detect
|
id: detect
|
||||||
@@ -26,7 +28,17 @@ runs:
|
|||||||
GITHUB_SHA: ${{ github.sha || '' }}
|
GITHUB_SHA: ${{ github.sha || '' }}
|
||||||
GITHUB_REF: ${{ github.ref || '' }}
|
GITHUB_REF: ${{ github.ref || '' }}
|
||||||
run: |
|
run: |
|
||||||
|
gha-timer start --name "Detect Version Change"
|
||||||
|
|
||||||
${{ github.action_path }}/scripts/detect-version-change.sh
|
${{ 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
|
- name: Read CLIFF_VERSION
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user