From 0ccc5d216407b9c6732f8ee5943b911f526baeff Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 5 Mar 2024 12:58:51 +0100 Subject: [PATCH] remove double maven build for reporting --- .github/workflows/buildReporting.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/buildReporting.yml b/.github/workflows/buildReporting.yml index 64704c1c..49651c46 100644 --- a/.github/workflows/buildReporting.yml +++ b/.github/workflows/buildReporting.yml @@ -16,6 +16,19 @@ jobs: maven-build-reporting: runs-on: ubuntu-latest steps: + - name: Get short SHA + uses: benjlevesque/short-sha@v2.1 + id: short-sha + - name: Store short SHA as environment variable + run: echo $SHA + env: + SHA: ${{ steps.short-sha.outputs.sha }} + - name: Set env + run: echo "TAG_NAME=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Test tag name + run: | + echo $TAG_NAME + echo ${{ env.TAG_NAME }} - name: Checkout repository uses: actions/checkout@v4