From 11029c63495ac8c226a5f7967ae128c5246c9e08 Mon Sep 17 00:00:00 2001 From: Matej Voboril Date: Fri, 1 Mar 2024 21:03:47 -0600 Subject: [PATCH] ci: specify java distribution --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72313d9..e0086f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,12 @@ jobs: - uses: actions/setup-java@v4 with: java-version: 16 + distribution: 'temurin' + cache: 'maven' - name: Setup Node.js and semantic-release plugins uses: actions/setup-node@v4 with: - node-version: 16 + node-version: lts/hydrogen env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - run: npm install -g semantic-release @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec semantic-release/git semantic-release/release-notes-generator