File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,11 @@ jobs:
173
173
fi
174
174
shell : bash
175
175
176
- - name : Build using Intel C++ Compiler 19.0
176
+ - name : Build using Intel C++ Compiler 19.0 (only for release)
177
+ if : |
178
+ github.event_name == 'release' &&
179
+ github.event.action == 'published' &&
180
+ startsWith(github.ref, 'refs/tags/')
177
181
run : |
178
182
rm -rf build-icc && CC=icc CXX=icpc cmake -B build-icc && cmake --build build-icc -j8
179
183
@@ -189,7 +193,7 @@ jobs:
189
193
- name : Move files
190
194
run : |
191
195
mkdir -p publish/bin/linux32/cstrike/dlls
192
- mv build-icc/regamedll/cs.so publish/bin/linux32/cstrike/dlls/cs.so
196
+ mv build-icc/regamedll/cs.so publish/bin/linux32/cstrike/dlls/cs.so 2>/dev/null || true
193
197
mv build-gcc/regamedll/cs.so publish/cs-gcc.so
194
198
mv regamedll/version/appversion.h publish/appversion.h
195
199
mv dist/ publish/
You can’t perform that action at this time.
0 commit comments