From 1f6d96efdc44609777d14574f36690d5f991cd3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Sun, 10 Mar 2024 08:54:58 +0100 Subject: [PATCH] Automatically evaluate Tycho version for checks --- .github/workflows/verify-platform.yml | 2 +- .github/workflows/verify-platform2.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify-platform.yml b/.github/workflows/verify-platform.yml index 34ba47f28a..9c0ac8ce5c 100644 --- a/.github/workflows/verify-platform.yml +++ b/.github/workflows/verify-platform.yml @@ -69,5 +69,5 @@ jobs: -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -DskipTests -Pbree-libs - -Dtycho.version=5.0.0-SNAPSHOT + -Dtycho.version=$(mvn help:evaluate -f ${{ github.workspace }}/tycho -Dexpression=project.version -q -DforceStdout) clean verify diff --git a/.github/workflows/verify-platform2.yml b/.github/workflows/verify-platform2.yml index 6410d706cb..6a4617acbf 100644 --- a/.github/workflows/verify-platform2.yml +++ b/.github/workflows/verify-platform2.yml @@ -69,6 +69,6 @@ jobs: -Pbuild-individual-bundles -Pbree-libs -Dmaven.test.failure.ignore=true - -Dtycho.version=5.0.0-SNAPSHOT + -Dtycho.version=$(mvn help:evaluate -f ${{ github.workspace }}/tycho -Dexpression=project.version -q -DforceStdout) -T1C clean verify