From 6dc6a66c19c8799746fce1dda092a2e821794614 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Tue, 10 Aug 2021 13:14:45 +0100 Subject: [PATCH] sudo and os_version set as enviromental varibles --- .github/workflows/unix_linux.yml | 1 + .github/workflows/unix_mac.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/unix_linux.yml b/.github/workflows/unix_linux.yml index 4e43d576..f8d18f10 100644 --- a/.github/workflows/unix_linux.yml +++ b/.github/workflows/unix_linux.yml @@ -88,6 +88,7 @@ jobs: echo "COREFORM_BASE_URL=${COREFORM_BASE_URL}/Linux/" >> $GITHUB_ENV echo "HDF5_PATH=${HDF5_PATH}" >> $GITHUB_ENV + echo "SUDO=''" >> $GITHUB_ENV echo "OS=${{ matrix.os }}" >> $GITHUB_ENV echo "OS_VERSION=${{ matrix.os_version }}" >> $GITHUB_ENV echo "CMAKE_ADDITIONAL_FLAGS=-DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0" >> $GITHUB_ENV diff --git a/.github/workflows/unix_mac.yml b/.github/workflows/unix_mac.yml index 1efecea1..608e6ab9 100644 --- a/.github/workflows/unix_mac.yml +++ b/.github/workflows/unix_mac.yml @@ -61,7 +61,9 @@ jobs: echo "CUBIT_PATH=/Applications/${CUBIT_BASE_NAME}.app/Contents" >> $GITHUB_ENV echo "COREFORM_BASE_URL=${COREFORM_BASE_URL}/MacOS/" >> $GITHUB_ENV + echo "SUDO=''" >> $GITHUB_ENV echo "OS=${{ matrix.os }}" >> $GITHUB_ENV + echo "OS_VERSION=${{ matrix.os_version }}" >> $GITHUB_ENV echo "CMAKE_ADDITIONAL_FLAGS=-DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0" >> $GITHUB_ENV echo "CUBIT_PKG=${BASE}-${SUFFIX}.${EXT}" >> $GITHUB_ENV