Update gradle/actions action to v4.3.0 #659
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: JavaCI-PR | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
module: [ baseline, aws, azure, vault ] | |
include: | |
- module: baseline | |
name: Baseline | |
directory: baseline-demo | |
- module: aws | |
name: AWS Secrets Manager | |
directory: aws-secrets-manager-demo | |
- module: azure | |
name: Azure Key Vault | |
directory: azure-key-vault-demo | |
- module: vault | |
name: Self-hosted Vault | |
directory: self-hosted-vault-demo | |
steps: | |
# Set up build environment | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 | |
- name: Build ${{ matrix.name }} project with Gradle | |
run: | | |
cd ${{ matrix.directory }} | |
./gradlew bootRun |