Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 #3
This file contains hidden or 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
name: Pulumi Preview | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
# Authenticate with Google Cloud so we can deploy to the cluster | |
- name: 'Authenticate with Google Cloud' | |
uses: 'google-github-actions/auth@v2' | |
with: | |
project_id: ${{ secrets.GKE_PROJECT }} | |
credentials_json: '${{ secrets.GKE_SA_KEY }}' | |
- name: 'Set up Cloud SDK' | |
uses: 'google-github-actions/setup-gcloud@v2' | |
- uses: pulumi/actions@v3 | |
with: | |
command: preview | |
stack-name: nextgen-iac-pulumi-java | |
comment-on-pr: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
env: | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} |