mirror of https://github.com/dapr/java-sdk.git
Fix create release to run with right JDK (#1171)
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
This commit is contained in:
parent
e8a901017f
commit
c21e283ca3
|
@ -25,11 +25,18 @@ jobs:
|
||||||
create-release:
|
create-release:
|
||||||
name: Creates release branch and tag
|
name: Creates release branch and tag
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
JDK_VER: '17'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Set up OpenJDK ${{ env.JDK_VER }}
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: ${{ env.JDK_VER }}
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
Loading…
Reference in New Issue