File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 steps :
2525 - name : Checkout sources
2626 uses : actions/checkout@v4
27+ - name : Check if SDK version is SNAPSHOT
28+ run : |
29+ SDK_VERSION=$(mvn help:evaluate -Dexpression=version.sdk -q -DforceStdout)
30+ echo "SDK_VERSION=${SDK_VERSION}" >> "$GITHUB_ENV"
31+ if [[ "${SDK_VERSION}" == *"-SNAPSHOT" ]]; then
32+ echo "IS_SNAPSHOT=true" >> "$GITHUB_ENV"
33+ else
34+ echo "IS_SNAPSHOT=false" >> "$GITHUB_ENV"
35+ fi
2736 - name : Checkout a2a-java
37+ if : env.IS_SNAPSHOT == 'true'
2838 uses : actions/checkout@v4
2939 with :
3040 repository : a2aproject/a2a-java
@@ -42,10 +52,12 @@ jobs:
4252 distribution : ' temurin'
4353 cache : maven
4454 - name : Build a2a-java with Maven, skipping tests
55+ if : env.IS_SNAPSHOT == 'true'
4556 run : |
4657 mvn -B install -DskipTests
4758 working-directory : a2a-java
4859 - name : Get a2a-java version and save as env var
60+ if : env.IS_SNAPSHOT == 'true'
4961 run : |
5062 VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
5163 echo "SDK_VERSION=${VERSION}" >> "$GITHUB_ENV"
Original file line number Diff line number Diff line change 4545 <properties >
4646 <jboss .home>${project.build.directory}${file.separator} wildfly</jboss .home>
4747 <version .wildfly>36.0.1.Final</version .wildfly>
48- <version .sdk>0.3.0.Beta1-SNAPSHOT </version .sdk>
48+ <version .sdk>0.3.0.Alpha1 </version .sdk>
4949 <!-- This needs to be same version as used by the sdk -->
5050 <version .mutiny-zero>1.1.1</version .mutiny-zero>
5151 <!-- gRPC version matching the a2a-java-sdk -->
You can’t perform that action at this time.
0 commit comments