Skip to content

Commit

Permalink
Bump setup-java to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cnunciato committed Jul 3, 2024
1 parent 49114d3 commit 540e5bd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@ jobs:
id-token: write
steps:
- name: Install Java 11 (temurin)
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- if: contains(matrix.platform, 'macOS')
name: Install sbt (Scala)
run: |
brew install sbt
- name: Install DotNet ${{ matrix.dotnet }}
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}
- if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'windows')
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Run Template Tests Against Pulumi CLI
on:
schedule:
- cron: '0 8 * * *'
pull_request:
branches:
- master
workflow_dispatch: {}

env:
Expand Down Expand Up @@ -44,12 +47,16 @@ jobs:
id-token: write
steps:
- name: Install Java 11 (temurin)
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- if: contains(matrix.platform, 'macOS')
name: Install sbt (Scala)
run: |
brew install sbt
- name: Install DotNet ${{ matrix.dotnet }}
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}
- if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'windows')
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/run-templates-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,16 @@ jobs:
id-token: write
steps:
- name: Install Java 11 (temurin)
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- if: contains(matrix.platform, 'macOS')
name: Install sbt (Scala)
run: |
brew install sbt
- name: Install DotNet ${{ matrix.dotnet }}
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}
- if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'windows')
Expand Down

0 comments on commit 540e5bd

Please sign in to comment.