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}}"