From 1767daf31da3d65dc5c1206119c979d9b0205a82 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Tue, 21 Nov 2023 10:32:35 +0000
Subject: [PATCH] Update GHA versions
---
.github/workflows/prs.yaml | 3 ++-
.github/workflows/publish.yml | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
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 778fba09..170bb910 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