mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
build.yml: packaging config files to artifacts (Resolves #615)
This commit is contained in:
parent
f2ef23db61
commit
f60e5eabee
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -192,6 +192,7 @@ jobs:
|
||||
mv build-icc/regamedll/cs.so publish/bin/linux32/cstrike/dlls/cs.so
|
||||
mv build-gcc/regamedll/cs.so publish/cs-gcc.so
|
||||
mv regamedll/version/appversion.h publish/appversion.h
|
||||
mv dist/ publish/
|
||||
|
||||
- name: Run GLIBC/ABI version compat test
|
||||
run: |
|
||||
@ -248,13 +249,15 @@ jobs:
|
||||
fi
|
||||
rm -f appversion.h
|
||||
|
||||
- name: Packaging bin/dbg
|
||||
- name: Packaging binaries
|
||||
id: packaging-job
|
||||
if: |
|
||||
github.event_name == 'release' &&
|
||||
github.event.action == 'published' &&
|
||||
startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
rsync -a dist/ bin/win32/cstrike
|
||||
rsync -a dist/ bin/linux32/cstrike
|
||||
7z a -tzip regamedll-bin-${{ env.APP_VERSION }}.zip bin/ cssdk/
|
||||
|
||||
- name: Publish artifacts
|
||||
@ -272,5 +275,5 @@ jobs:
|
||||
- name: Cleanup temporary artifacts
|
||||
if: success() && steps.publish-job.outcome == 'success'
|
||||
run: |
|
||||
rm -rf bin debug cssdk
|
||||
rm -rf bin dist debug cssdk
|
||||
rm -f *.zip appversion.h
|
||||
|
Loading…
Reference in New Issue
Block a user