Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): Java required by automatic-updates #5150

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/actions/automatic-updates/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,29 @@ inputs:
goVersionFile:
required: true
type: string
javaVersion:
description: "Java version"
required: true
javaDistribution:
description: "Java distribution"
required: true

runs:
using: "composite"
steps:

- name: Install Go ${{ inputs.goVersionFile }}
uses: actions/setup-go@v4
with:
go-version-file: ${{ inputs.goVersionFile }}
check-latest: true


- name: Set up JDK ${{ inputs.javaVersion }}
uses: actions/setup-java@v4
with:
distribution: ${{ inputs.javaDistribution }}
java-version: ${{ inputs.javaVersion }}

- name: Generate changelog
uses: ./.github/actions/changelog
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly-automatic-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ jobs:
branch-ref: ${{ matrix.ref-branch }}
secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
goVersionFile: "go.mod"
javaVersion: "17"
javaDistribution: "temurin"
Loading