From 104bac8a84562910bfb00d2a5bd5b23387f6f4ea Mon Sep 17 00:00:00 2001 From: maximo tejeda Date: Sun, 1 Sep 2024 11:55:39 -0400 Subject: [PATCH] Short sha test --- .github/workflows/out_in.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/out_in.yaml b/.github/workflows/out_in.yaml index 0298726..a951189 100644 --- a/.github/workflows/out_in.yaml +++ b/.github/workflows/out_in.yaml @@ -12,3 +12,11 @@ jobs: - name: Get 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}}"