From 32486942378cfc96d7889dee83854470049cf4df Mon Sep 17 00:00:00 2001 From: cartland Date: Thu, 17 Apr 2025 11:33:09 -0700 Subject: [PATCH 1/3] Add workflow_dispatch trigger to workflows from GitHub --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c028af6..4d9a2af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,7 @@ name: CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: + workflow_dispatch: push: branches: [ master ] pull_request: @@ -41,4 +42,3 @@ jobs: with: name: gradle-test-logs path: ./**/build/reports/tests - From 81a8d51437c52fdb2c55113744af516aac48dda4 Mon Sep 17 00:00:00 2001 From: cartland Date: Mon, 5 May 2025 15:55:02 -0700 Subject: [PATCH 2/3] Update GitHub Actions Checkout and Setup Java versions This commit updates the GitHub Actions Checkout and Setup Java versions in the main workflow file. - Updates actions/checkout@v2 to actions/checkout@v4. - Updates actions/setup-java@v1 to actions/setup-java@v4. --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d9a2af..effe107 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,14 +21,13 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - # Install and setup JDK 11 - name: Setup JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 11 @@ -37,7 +36,7 @@ jobs: run: ./gradlew check --stacktrace - name: Archive test logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: gradle-test-logs From 12b78b66c99756e140133d4808b2e228875454e9 Mon Sep 17 00:00:00 2001 From: cartland Date: Mon, 5 May 2025 16:14:46 -0700 Subject: [PATCH 3/3] Configure Java distribution This commit configures the Java distribution to use Zulu in the setup-java action. - Configures the distribution parameter to 'zulu' in the actions/setup-java@v4 action. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index effe107..6261cd6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,7 @@ jobs: - name: Setup JDK 11 uses: actions/setup-java@v4 with: + distribution: 'zulu' java-version: 11 # Runs a single command using the runners shell