From 7a468832de98bc845cc47dbc8a0b451a4960db72 Mon Sep 17 00:00:00 2001 From: Julian Ghionoiu Date: Fri, 6 May 2022 15:30:37 +0100 Subject: [PATCH] Read tag --- .github/workflows/maven.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2aab727..ff78ac2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,6 +16,11 @@ jobs: name: Create GitHub Release runs-on: ubuntu-latest steps: + - name: Read the tag var + id: create_tag + run: | + tag=$(basename "${{ github.ref }}") + echo "::set-output name=tag::$tag" - name: Create Release id: create_release uses: actions/create-release@v1