Add Java to be able to run gradle

This commit is contained in:
Jan Høydahl 2023-02-21 15:45:56 +01:00
parent a34d03163f
commit a4cfe6f354
2 changed files with 8 additions and 4 deletions

View file

@ -3,13 +3,18 @@ on:
schedule: schedule:
# The "*" (#42, asterisk) character has special semantics in YAML, so this # The "*" (#42, asterisk) character has special semantics in YAML, so this
# string has to be quoted. # string has to be quoted.
- cron: '*/15 * * * *' - cron: '*/5 * * * *'
jobs: jobs:
renovate: renovate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.3.0 uses: actions/checkout@v3.3.0
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
- name: Self-hosted Renovate - name: Self-hosted Renovate
uses: renovatebot/github-action@v34.143.1 uses: renovatebot/github-action@v34.143.1
with: with:

View file

@ -3,10 +3,9 @@ module.exports = {
onboarding: false, onboarding: false,
requireConfig: false, requireConfig: false,
platform: 'github', platform: 'github',
includeForks: true, includeForks: false,
repositories: [ repositories: [
'cominvent/renovate-test' 'cominvent/renovate-test'
], ],
allowedPostUpgradeCommands: ["./gradlew.*"], allowedPostUpgradeCommands: ["./gradlew.*"]
logFileLevel: "debug"
}; };