From a76c0f929c902bc0993173bd7928d6c346cf6f50 Mon Sep 17 00:00:00 2001 From: Artem Chepurnoy Date: Mon, 29 Jan 2024 22:19:57 +0200 Subject: [PATCH] fix: Release buildscript fails because the build date is missing --- .github/workflows/new_tag_release.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/new_tag_release.yaml b/.github/workflows/new_tag_release.yaml index d4f698a1..7e5cea26 100644 --- a/.github/workflows/new_tag_release.yaml +++ b/.github/workflows/new_tag_release.yaml @@ -31,6 +31,9 @@ jobs: with: p12-filepath: desktopApp/macos-dev.cer p12-password: ${{ secrets.CERT_PASSWD }} + - id: vars + run: | + echo ::set-output name=tag::${GITHUB_REF:11} - name: "Setup build env" run: | echo "" >> gradle.properties @@ -86,6 +89,9 @@ jobs: distribution: 'temurin' java-version: '17' cache: 'gradle' + - id: vars + run: | + echo ::set-output name=tag::${GITHUB_REF:11} - name: "Setup build env" run: | echo "" >> gradle.properties @@ -123,6 +129,9 @@ jobs: 11 17 cache: 'gradle' + - id: vars + run: | + echo ::set-output name=tag::${GITHUB_REF:11} - name: "Setup build env" run: | echo "" >> gradle.properties