From 01a48b5e6b28a694ecf49ea84b237ed9064dc9b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Aradi?= Date: Wed, 29 May 2024 16:27:08 +0200 Subject: [PATCH] Fix workflow issue on MacOS and deprecated actions --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af4078f..0669e30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up environment (Linux) if: contains(matrix.os, 'ubuntu') @@ -25,13 +25,10 @@ jobs: echo "CXX=g++" >> $GITHUB_ENV sudo apt-get update sudo apt-get install cmake ninja-build - - # Note: xcode version 14.0 (default on macos-latest @ 2022-11-23) fails to link gfortran compiled - # code. Therefore, 14.1 is selected below (which seems to be installed.) + - name: Set up environment (OSX) if: contains(matrix.os, 'macos') run: | - xcversion select 14.1 echo "SOURCEDIR=${PWD}" >> $GITHUB_ENV echo "WORKDIR=${PWD}" >> $GITHUB_ENV echo "FC=gfortran-${{ matrix.version }}" >> $GITHUB_ENV