Short sha test
This commit is contained in:
parent
243f4547d2
commit
104bac8a84
8
.github/workflows/out_in.yaml
vendored
8
.github/workflows/out_in.yaml
vendored
@ -12,3 +12,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Get Stage
|
- name: Get Stage
|
||||||
run: echo "The build stage is ${{ steps.set-debug-stage.outputs.BUILD_STAGE}}"
|
run: echo "The build stage is ${{ steps.set-debug-stage.outputs.BUILD_STAGE}}"
|
||||||
|
|
||||||
|
- name: checkout code
|
||||||
|
id: get-short-sha
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
run: echo "SHORT_SHA=$(git rev-parse --short)" >> GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: check short sha
|
||||||
|
run: echo "The short sha is ${{ steps.get-short-sha.outputs.SHORT_SHA}}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user