From c645a192931d4ec02dc4ef8f0b617250ac4a2e22 Mon Sep 17 00:00:00 2001 From: Ivan Hargreaves Date: Mon, 8 Jun 2026 23:40:19 +0100 Subject: [PATCH 1/3] fix: remove setup-gradle from build-gradlew job and rename workflow - Renamed .github/workflows/main.yml to build.yaml - Removed setup-gradle action from build-gradlew job (lines 101-102) - Wrapper jobs should only use setup-java to validate standalone functionality - Updated copyright year to 2026 - Aligns with workflow naming standards across CICS sample repositories - Fixes build failures in Gradle wrapper tests --- .github/workflows/{main.yml => build.yaml} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename .github/workflows/{main.yml => build.yaml} (94%) diff --git a/.github/workflows/main.yml b/.github/workflows/build.yaml similarity index 94% rename from .github/workflows/main.yml rename to .github/workflows/build.yaml index f71f0ff..e84638a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/build.yaml @@ -24,7 +24,7 @@ jobs: with: directory: './cics-java-liberty-restapp/' file-extensions: '*.java' - base-copyright: 'Copyright IBM Corp. 2025' + base-copyright: 'Copyright IBM Corp. 2026' token: ${{ secrets.GITHUB_TOKEN }} build-maven: @@ -98,7 +98,5 @@ jobs: with: java-version: ${{ matrix.jdk }} distribution: 'semeru' - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v4 - - name: Build with Gradle + - name: Build with Gradle Wrapper run: ./gradlew build -Pjava_version=${{ matrix.jdk }} From 11c74ffa370022ce5b4ce8d1d4560c59cef35473 Mon Sep 17 00:00:00 2001 From: Ivan Hargreaves Date: Tue, 9 Jun 2026 00:53:44 +0100 Subject: [PATCH 2/3] fix: update build badge to reference build.yaml workflow --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b4614b..0da459c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ cics-java-liberty-restapp =========================== -[![Build](https://github.com/cicsdev/cics-java-liberty-restapp/actions/workflows/main.yml/badge.svg)](https://github.com/cicsdev/cics-java-liberty-restapp/actions/workflows/main.yml) +[![Build](https://github.com/cicsdev/cics-java-liberty-restapp/actions/workflows/build.yaml/badge.svg)](https://github.com/cicsdev/cics-java-liberty-restapp/actions/workflows/build.yaml) Sample RESTful web application for deployment to a Liberty JVM server in CICS. The application is supplied with two resources: From 403c13cf9bf197b9667be406c71f08709963cddc Mon Sep 17 00:00:00 2001 From: Ayushi Kumari Date: Tue, 9 Jun 2026 08:29:24 +0530 Subject: [PATCH 3/3] Update build.yaml --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e84638a..6991b2f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,7 +22,7 @@ jobs: - id: copyright-action uses: cicsdev/.github/.github/actions/samples-copyright-checker@4134522d8109169bb8c460db841f94167ec2802f with: - directory: './cics-java-liberty-restapp/' + directory: './cics-java-liberty-restapp-app/' file-extensions: '*.java' base-copyright: 'Copyright IBM Corp. 2026' token: ${{ secrets.GITHUB_TOKEN }}