Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Update remote build.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico committed Sep 9, 2022
1 parent 2ea4df5 commit eb38cfe
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/make_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,15 @@ jobs:
untar_files() {
mv *.tar* tmp/
mv *.zip* tmp/
mv *.inc* tmp/
cd tmp
tar -zxvf sourcemod*.tar.gz
unzip sm-rip*.zip
mkdir -p ./addons/sourcemod/scripting/get5
tar -zxf sourcemod*.tar.gz
}
move_api_files() {
mkdir -p ./addons/sourcemod/scripting/get5
cp -r ../scripting/* ./addons/sourcemod/scripting/
cp -f ../SteamWorks.inc ./addons/sourcemod/scripting/include/SteamWorks.inc
cp -f ./SteamWorks.inc ./addons/sourcemod/scripting/include/SteamWorks.inc
cp -f ../get5/scripting/include/get5.inc ./addons/sourcemod/scripting/include/get5.inc
cp -f ../get5/scripting/include/logdebug.inc ./addons/sourcemod/scripting/include/logdebug.inc
cp -f ../get5/scripting/get5/util.sp ./addons/sourcemod/scripting/get5/util.sp
Expand All @@ -72,6 +71,7 @@ jobs:
remove_tmp() {
cd ../../../../
rm -rf ./tmp/
git submodule deinit --force --all
}
create_zip() {
zip G5WS G5WS.smx
Expand All @@ -85,6 +85,7 @@ jobs:
compile
remove_tmp
create_zip
- name: Create a Release
id: create_release
uses: ncipollo/[email protected]
Expand Down

0 comments on commit eb38cfe

Please sign in to comment.