Skip to content

Commit 15c3c3f

Browse files
committed
actions: package mod
1 parent 20c3202 commit 15c3c3f

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

.github/workflows/CI.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
vpk:
19-
name: Pack VPK
19+
name: Pack files
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout
@@ -35,8 +35,15 @@ jobs:
3535
- name: Upload Artifact
3636
uses: actions/upload-artifact@v4
3737
with:
38-
name: pak01_dir
39-
path: pak01_dir.vpk
38+
name: mod-files
39+
path: |
40+
cfg/
41+
maps/
42+
resource/
43+
scripts/
44+
media/
45+
gameinfo.txt
46+
pak01_dir.vpk
4047
if-no-files-found: error
4148

4249
build-lin:
@@ -88,3 +95,14 @@ jobs:
8895
smsm\bin\smsm.dll
8996
smsm\bin\smsm.pdb
9097
if-no-files-found: error
98+
99+
merge:
100+
name: Mod Package
101+
needs: [vpk, build-lin, build-win]
102+
runs-on: ubuntu-latest
103+
steps:
104+
- name: Merge Artifacts
105+
uses: actions/upload-artifact/merge@v4
106+
with:
107+
name: Portal 2 Speedrun Mod
108+
delete-merged: true

0 commit comments

Comments
 (0)