File tree Expand file tree Collapse file tree 5 files changed +16
-2
lines changed Expand file tree Collapse file tree 5 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,13 @@ jobs:
146
146
wget -q -O tmp.zip https://git.empiresmod.com/sourcemod/Updater/-/jobs/artifacts/master/download?job=build && unzip -o tmp.zip 'addons/*' -d ../../ && rm tmp.zip
147
147
working-directory : ${{ env.SOURCEMOD_PATH }}/
148
148
149
+ # PASS Time plugins
150
+ - name : Get latest version of PASS Time Plugin
151
+ run : |
152
+ wget -q -O addons/sourcemod/plugins/p4sstime.smx https://github.com/blakeplusplus/p4sstime/releases/latest/download/p4sstime.smx
153
+ wget -q -O tmp.zip https://github.com/blakeplusplus/p4sstime/archive/refs/heads/main.zip && first_folder=$(unzip -Z1 tmp.zip | awk -F/ '{print $1}' | head -n 1) && unzip -q tmp.zip "$first_folder/*" -d "passtime" && cd passtime/$first_folder && cp -r addons/sourcemod/gamedata ../../addons/sourcemod/ && cd ../../ && rm -rf passtime && rm tmp.zip
154
+ working-directory : ${{ env.SOURCEMOD_PATH }}/
155
+
149
156
- name : Move compiled plugins
150
157
run : |
151
158
rm -rf $PLUGINS_PATH/disabled/
Original file line number Diff line number Diff line change 67
67
- name : Disable optional plugins
68
68
run : |
69
69
mv roundtimer_override.smx disabled/
70
- mv p4sstime.smx disabled/
71
70
working-directory : ${{ env.PLUGINS_PATH }}/
72
71
73
72
- name : Rebuild updatefile.txt
Original file line number Diff line number Diff line change @@ -109,6 +109,13 @@ jobs:
109
109
wget -q -O tmp.zip https://git.empiresmod.com/sourcemod/Updater/-/jobs/artifacts/master/download?job=build && unzip -o tmp.zip 'addons/*' -d ../../ && rm tmp.zip
110
110
working-directory : ${{ env.SOURCEMOD_PATH }}/
111
111
112
+ # PASS Time plugins
113
+ - name : Get latest version of PASS Time Plugin
114
+ run : |
115
+ wget -q -O addons/sourcemod/plugins/p4sstime.smx https://github.com/blakeplusplus/p4sstime/releases/latest/download/p4sstime.smx
116
+ wget -q -O tmp.zip https://github.com/blakeplusplus/p4sstime/archive/refs/heads/main.zip && first_folder=$(unzip -Z1 tmp.zip | awk -F/ '{print $1}' | head -n 1) && unzip -q tmp.zip "$first_folder/*" -d "passtime" && cd passtime/$first_folder && cp -r addons/sourcemod/gamedata ../../addons/sourcemod/ && cd ../../ && rm -rf passtime && rm tmp.zip
117
+ working-directory : ${{ env.SOURCEMOD_PATH }}/
118
+
112
119
- name : Move compiled plugins
113
120
run : |
114
121
rm -rf $PLUGINS_PATH/disabled/
Original file line number Diff line number Diff line change @@ -13,4 +13,5 @@ README.txt
13
13
14
14
# ignore smx builds
15
15
* .smx
16
- ! p4sstime.smx
16
+ # !p4sstime.smx
17
+
You can’t perform that action at this time.
0 commit comments