From ccc65aef8d9b4828e1aeebfc3dd81e845e2d0d0f Mon Sep 17 00:00:00 2001 From: hitanshu310 Date: Thu, 5 Jun 2025 23:23:44 +0530 Subject: [PATCH 1/2] Trying to figure out RCA --- .gitea/workflows/test_build.yml | 7 +++++++ .gitea/workflows/test_image_build_push.yml | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test_build.yml b/.gitea/workflows/test_build.yml index ae070cd..a546543 100644 --- a/.gitea/workflows/test_build.yml +++ b/.gitea/workflows/test_build.yml @@ -15,6 +15,13 @@ jobs: distribution: 'zulu' java-version: '17' - name: Validate Gradle Wrapper + - name: Get latest tag dry run + run: | + echo "VERSION=$(git describe --tags --abbrev=0)" + echo $VERSION + echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)" + echo "MINOR=$(echo $VERSION | cut -d "." -f 2)" + echo "PATCH=$(echo $VERSION | cut -d "." -f 3)" uses: gradle/actions/wrapper-validation@v3 - name: Gradle build run: ./gradlew build --info \ No newline at end of file diff --git a/.gitea/workflows/test_image_build_push.yml b/.gitea/workflows/test_image_build_push.yml index aa75baf..3feddd2 100644 --- a/.gitea/workflows/test_image_build_push.yml +++ b/.gitea/workflows/test_image_build_push.yml @@ -7,7 +7,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: catthehacker/ubuntu:runner-latest + image: catthehacker/ubuntu:act-latest steps: - name: Check out repository code uses: actions/checkout@v4 @@ -25,6 +25,7 @@ jobs: - name: Get latest tag run: | echo "VERSION=$(git describe --tags --abbrev=0)" + echo $VERSION echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)" echo "MINOR=$(echo $VERSION | cut -d "." -f 2)" echo "PATCH=$(echo $VERSION | cut -d "." -f 3)" -- 2.45.2 From 36050aec95f171f1ce26149fbab6396e7e8c1de2 Mon Sep 17 00:00:00 2001 From: hitanshu310 Date: Thu, 5 Jun 2025 23:26:25 +0530 Subject: [PATCH 2/2] Trying to figure out RCA --- .gitea/workflows/test_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test_build.yml b/.gitea/workflows/test_build.yml index a546543..85e9353 100644 --- a/.gitea/workflows/test_build.yml +++ b/.gitea/workflows/test_build.yml @@ -15,6 +15,7 @@ jobs: distribution: 'zulu' java-version: '17' - name: Validate Gradle Wrapper + uses: gradle/actions/wrapper-validation@v3 - name: Get latest tag dry run run: | echo "VERSION=$(git describe --tags --abbrev=0)" @@ -22,6 +23,5 @@ jobs: echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)" echo "MINOR=$(echo $VERSION | cut -d "." -f 2)" echo "PATCH=$(echo $VERSION | cut -d "." -f 3)" - uses: gradle/actions/wrapper-validation@v3 - name: Gradle build run: ./gradlew build --info \ No newline at end of file -- 2.45.2