forked from ecca/SourceMod-Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (44 loc) · 1.21 KB
/
sourcemod.yml
File metadata and controls
49 lines (44 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Sourcemod CI
on:
push:
branches: [ "sourcemod" ]
pull_request:
branches: [ "sourcemod" ]
workflow_dispatch:
env:
REPO_NAME: "${{ github.event.repository.name }}"
BUILD_NUMBER: "${{ github.run_number }}"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Warden
uses: actions/checkout@v3
# - name: Checkout multicolors
# uses: actions/checkout@v3
# with:
# repository: Bara/Multi-Colors
# path: multicolors
- name: Checkout hosties
uses: actions/checkout@v3
with:
repository: notfoundname/sm-hosties-plus
path: hosties
- name: Compile Warden
uses: SheplyRam/compile-sourcepawn-plugin@v1
with:
input: scripting/warden.sp
output: plugins/warden.smx
includes: "scripting/include hosties/scripting/include"
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.6.2
with:
name: "${{ env.REPO_NAME }}-${{ env.BUILD_NUMBER }}"
path: |
./
!.git
!.github
!.gitignore
!./sourcescramble
!./hosties
!Warden.code-workspace