diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dea8c2a5..ad10cdff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -129,12 +129,12 @@ jobs: # install zlib, which is a dependency of APPLgrid but somehow missing brew install zlib # APPLgrid wants to be linked against zlib, and we need to find its static library via pkg-config - export PKG_CONFIG_PATH=$(find $(brew --cellar) -name '*.pc' -exec dirname {} + | sort -u | tr '\n' ':') + echo "PKG_CONFIG_PATH=$(find $(brew --cellar) -name '*.pc' -exec dirname {} + | sort -u | tr '\n' ':')" >> ${GITHUB_ENV} # manually compile APPLgrid, because we need the file `appl_igrid.h` and the files it includes, which are possibly generated export HOMEBREW_TEMP="$(pwd)"/tmp mkdir -p ${HOMEBREW_TEMP} brew install --build-from-source --keep-tmp --without-hoppet --without-lhapdf --without-root applgrid - export APPL_IGRID_DIR=$(find ${HOMEBREW_TEMP} -name appl_igrid.h -exec dirname {} +) + echo "APPL_IGRID_DIR=$(find ${HOMEBREW_TEMP} -name appl_igrid.h -exec dirname {} +)" >> ${GITHUB_ENV} # do not link against `gfortran` sed 's/-lgfortran//g' $(command -v applgrid-config) > applgrid-config.new mv applgrid-config.new $(command -v applgrid-config)