Skip to content

Commit f485b72

Browse files
committed
CI
1 parent 303ec9c commit f485b72

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/plugin.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
repository: Alienmario/smartdm-redux
24-
path: smartdm
24+
path: deps/smartdm
2525

2626
- name: Checkout smlib
2727
uses: actions/checkout@v4
2828
with:
2929
repository: bcserv/smlib
3030
ref: transitional_syntax
31-
path: smlib
31+
path: deps/smlib
3232

3333
- name: Checkout StudioHdr
3434
uses: actions/checkout@v4
3535
with:
3636
repository: Alienmario/StudioHdr
37-
path: StudioHdr
37+
path: deps/StudioHdr
3838

3939
- name: Merge deps
4040
run: |
41-
cp -R smartdm/* .
42-
cp -R smlib/* .
43-
cp -R StudioHdr/* .
41+
cp -R deps/smartdm/* .
42+
cp -R deps/smlib/scripting/include/* scripting/include
43+
cp -R deps/StudioHdr/* .
4444
4545
- name: Setup sourcemod compiler
4646
id: setup-sp
@@ -69,6 +69,10 @@ jobs:
6969
cp -R scripting $SM
7070
cp -R gamedata $SM
7171
cp -R configs-${{ matrix.game.dir }}/. $SM/configs
72+
if [ -d "data" ]
73+
then
74+
cp -R data $SM
75+
fi
7276
7377
- name: Upload package
7478
uses: actions/upload-artifact@v4
File renamed without changes.

0 commit comments

Comments
 (0)