From f41eec4c1640f062a8667e81a9216e4025be104c Mon Sep 17 00:00:00 2001 From: Jan Kroken Date: Tue, 5 Sep 2023 10:05:52 +0200 Subject: [PATCH] La til oppsett av JVM --- .github/workflows/gradle-dependency-submission.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle-dependency-submission.yml b/.github/workflows/gradle-dependency-submission.yml index 1171d5d..ec9f9cb 100644 --- a/.github/workflows/gradle-dependency-submission.yml +++ b/.github/workflows/gradle-dependency-submission.yml @@ -14,6 +14,12 @@ jobs: permissions: # The Dependency Submission API requires write permission contents: write steps: + # JAVA 17 + - name: 'Java 17' + uses: actions/setup-java@v1.4.3 + with: + java-version: 17 + cache: 'gradle' - uses: actions/checkout@v3 # ratchet:actions/checkout@v3 - name: Run snapshot action uses: mikepenz/gradle-dependency-submission@v0.8.6 @@ -21,4 +27,4 @@ jobs: fail-on-error: true gradle-dependency-path: "build.gradle.kts" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}