Skip to content

Commit

Permalink
build.yml: packaging config files to artifacts (Resolves #615)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Apr 16, 2021
1 parent f2ef23d commit f60e5ea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit f60e5ea

Please sign in to comment.