Skip to content

Commit

Permalink
Fix source tarball generation github action job
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 committed Jul 27, 2021
1 parent 9042e9e commit 82d180b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release_src_artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
sudo apt-get install -y libfontconfig1-dev \
libglfw3-dev \
libfreeimage-dev \
libboost1.68-dev
libboost1.68-dev \
opencl-headers \
ocl-icd-opencl-dev
- name: CMake Configure
run: |
Expand All @@ -49,10 +51,11 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
rm -rf forge-full-${FG_VER}/.git
rm -rf forge-full-${FG_VER}/.github
rm -rf forge-full-${FG_VER}/.github/workflows
rm forge-full-${FG_VER}/.gitmodules
mkdir -p forge-full-${FG_VER}/extern/cl2hpp
cd forge-full-${FG_VER}/build/
cp -r ./examples/third_party/cl2hpp ../extern/cl2hpp
cp -r ./examples/third_party/cl2hpp/* ../extern/cl2hpp/
shopt -s extglob
rm -r !(extern)
cd ./extern
Expand All @@ -66,7 +69,10 @@ jobs:
rm -rf ./${dep}/.gitmodules
done
shopt -u extglob
cd ../../..
cp -r ./* ../../extern/
cd ../../
rm -r build
cd ..
tar -cjf forge-full-${FG_VER}.tar.bz2 forge-full-${FG_VER}/
echo "UPLOAD_FILE=forge-full-${FG_VER}.tar.bz2" >> $GITHUB_ENV
Expand Down

0 comments on commit 82d180b

Please sign in to comment.