Skip to content

Commit

Permalink
Clean up dependency sources and intermediate binaries in GitHub Actio…
Browse files Browse the repository at this point in the history
…ns CI to save space
  • Loading branch information
mcserep committed Feb 3, 2024
1 parent da57451 commit 97423ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/scripts/ubuntu-20.04/postcompile_build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Post compilation configuration for building (environmental variables, library location settings etc..)

echo "${INSTALL_PATH}/thrift/bin" >> $GITHUB_PATH
echo "CMAKE_PREFIX_PATH=${INSTALL_PATH}/thrift:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV
echo "CMAKE_PREFIX_PATH=${INSTALL_PATH}/thrift:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV

# Clean up dependency sources and intermediate binaries to save space
rm -f ${DOWNLOAD_PATH}/thrift-0.16.0.tar.gz
rm -rf ${DOWNLOAD_PATH}/thrift-0.16.0/
5 changes: 4 additions & 1 deletion .github/scripts/ubuntu-22.04/postcompile_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
# Post compilation configuration for building (environmental variables, library location settings etc..)

echo "${INSTALL_PATH}/odb/bin" >> $GITHUB_PATH
echo "CMAKE_PREFIX_PATH=${INSTALL_PATH}/odb:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV
echo "CMAKE_PREFIX_PATH=${INSTALL_PATH}/odb:$CMAKE_PREFIX_PATH" >> $GITHUB_ENV

# Clean up dependency sources and intermediate binaries to save space
rm -rf ${DOWNLOAD_PATH}/odb

0 comments on commit 97423ba

Please sign in to comment.