From 8e53b4181fb76d992a5902d70afa5136768d4a41 Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Sat, 11 May 2024 08:47:02 +0200 Subject: [PATCH] #3602 Fix setup-java action for release workflow --- .github/workflows/release.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e4cddbee..6dfd75a6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,6 @@ on: description: 'Next version' required: false -env: - JAVA_VERSION: '11' - JAVA_DISTRO: 'zulu' - jobs: release: # This job has been inspired by the moditect release (https://github.com/moditect/moditect/blob/main/.github/workflows/release.yml) @@ -26,8 +22,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v4 with: - java-version: ${{ vars.JAVA_VERSION }} - distribution: ${{ vars.JAVA_DISTRO }} + java-version: 11 + distribution: 'zulu' cache: maven - name: Set release version @@ -99,12 +95,6 @@ jobs: fetch-depth: 0 token: ${{ secrets.GIT_WEBSITE_ACCESS_TOKEN }} - - name: Setup Java - uses: actions/setup-java@v4 - with: - java-version: ${{ vars.JAVA_VERSION }} - distribution: ${{ vars.JAVA_DISTRO }} - - name: Download assets shell: bash run: |