From 4731b4e3a5eb5fc6243a365bc286920fe0f2d597 Mon Sep 17 00:00:00 2001 From: peggimann Date: Mon, 11 Dec 2023 10:27:35 +0100 Subject: [PATCH] implement new version get --- .github/workflows/deploy-action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-action.yml b/.github/workflows/deploy-action.yml index 20725d2f2e..7ee4ee5770 100644 --- a/.github/workflows/deploy-action.yml +++ b/.github/workflows/deploy-action.yml @@ -10,8 +10,11 @@ jobs: extract-version: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + with: + token: ${{secrets.VERSION_TOKEN}} + - name: Extract Maven project version - uses: actions/checkout@v4 run: echo "version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec | sed 's/-SNAPSHOT$//')" >> $GITHUB_OUTPUT id: store-version