Sets Java 17 as default version

This commit is contained in:
Julien Lengrand-Lambert
2023-02-02 11:07:52 +01:00
parent c636e05bd3
commit 158eb9bc7e
2 changed files with 4 additions and 14 deletions

View File

@@ -1,14 +0,0 @@
name: Run API tests based on Jetbrains HTTP Client
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Downloads and runs the Jetbrains HTTP Client CLI
run: |
curl -f -L -o ijhttp.zip "https://jb.gg/ijhttp/latest"
unzip ijhttp.zip
./ijhttp/ijhttp Apis/HeroesApi.http --env-file Apis/http-client.env.json --env dev

View File

@@ -7,6 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Downloads and runs the Jetbrains HTTP Client CLI
run: |
curl -f -L -o ijhttp.zip "https://jb.gg/ijhttp/latest"