File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -120,20 +120,32 @@ jobs:
120120 shell : bash
121121 run : |
122122 # TODO add handling cmake_extras
123- python scripts/build_scripts/build_zips.py --platform=linux --use_boringssl=true --unity_root=$UNITY_ROOT_DIR --apis=${{ inputs.apis }}
123+ python scripts/build_scripts/build_zips.py --platform=linux --use_boringssl=true --unity_root=$UNITY_ROOT_DIR --apis=${{ inputs.apis }} --gen_documentation_zip
124124
125- - name : Check zip file
125+ - name : Check zip files
126126 shell : bash
127127 run : |
128- if [ -f linux_unity/*.zip ]; then
128+ if [ -f linux_unity/*Linux .zip ]; then
129129 echo "linux_unity zip created."
130130 else
131131 echo "Fail to create linux_unity zip."
132132 exit 1
133133 fi
134+ if [ -f linux_unity/documentation_sources.zip ]; then
135+ echo "documentation_sources zip created."
136+ else
137+ echo "Fail to create documentation_sources zip."
138+ exit 1
139+ fi
134140
135141 - name : Upload Build
136142 uses : actions/upload-artifact@v2
137143 with :
138144 name : linux_unity
139- path : linux_unity/*.zip
145+ path : linux_unity/*Linux.zip
146+
147+ - name : Upload Documentation Sources
148+ uses : actions/upload-artifact@v2
149+ with :
150+ name : documentation_sources
151+ path : linux_unity/documentation_sources.zip
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ jobs:
123123 - name : move zip files
124124 run : |
125125 cd built_artifact
126- find . -type f -name "*.zip" -exec mv {} . \;
126+ find . -type f \( -name "*.zip" ! -name "documentation_sources*" \) -exec mv {} . \;
127127 find . -empty -type d -delete
128128 ls -lR
129129 for zip_file in *.zip
You can’t perform that action at this time.
0 commit comments