diff --git a/.github/workflows/prs.yaml b/.github/workflows/prs.yaml index 6e4cb1ad..ed45723c 100644 --- a/.github/workflows/prs.yaml +++ b/.github/workflows/prs.yaml @@ -16,9 +16,10 @@ jobs: with: python-version: 3.9 - name: Set up JDK 11 for jNeuroML etc - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: 'temurin' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3829590d..84be03e0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,9 +16,10 @@ jobs: with: python-version: 3.9 - name: Set up JDK 11 for jNeuroML etc - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: 'temurin' - name: Install dependencies run: | python -m pip install --upgrade pip