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:
120
120
shell : bash
121
121
run : |
122
122
# 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
124
124
125
- - name : Check zip file
125
+ - name : Check zip files
126
126
shell : bash
127
127
run : |
128
- if [ -f linux_unity/*.zip ]; then
128
+ if [ -f linux_unity/*Linux .zip ]; then
129
129
echo "linux_unity zip created."
130
130
else
131
131
echo "Fail to create linux_unity zip."
132
132
exit 1
133
133
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
134
140
135
141
- name : Upload Build
136
142
uses : actions/upload-artifact@v2
137
143
with :
138
144
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:
123
123
- name : move zip files
124
124
run : |
125
125
cd built_artifact
126
- find . -type f -name "*.zip" -exec mv {} . \;
126
+ find . -type f \( -name "*.zip" ! -name "documentation_sources*" \) -exec mv {} . \;
127
127
find . -empty -type d -delete
128
128
ls -lR
129
129
for zip_file in *.zip
You can’t perform that action at this time.
0 commit comments