-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.72 KB
/
release.yml
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
49
50
51
52
53
54
55
name: Release
on:
release:
types: [published]
jobs:
release:
name: Release Plugin
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install SourceMod
uses: KatsuteTF/Workflows/actions/setup-sourcepawn@main
- name: Install TF2Attributes
uses: KatsuteTF/Workflows/actions/curl@main
with:
url: https://raw.githubusercontent.com/FlaminSarge/tf2attributes/master/scripting/include/tf2attributes.inc
file: tf2attributes.inc
- name: Install RRM
uses: KatsuteTF/Workflows/actions/curl@main
with:
url: https://raw.githubusercontent.com/KatsuteTF/RRM/main/addons/sourcemod/include/rrm.inc
file: rrm.inc
- name: Compile Plugin
run: |
spcomp -i ./ rrm_bleed.sp
spcomp -i ./ rrm_charge.sp
spcomp -i ./ rrm_explode.sp
spcomp -i ./ rrm_fire.sp
spcomp -i ./ rrm_friendly.sp
spcomp -i ./ rrm_jarate.sp
spcomp -i ./ rrm_marked.sp
spcomp -i ./ rrm_medieval.sp
spcomp -i ./ rrm_milk.sp
spcomp -i ./ rrm_powerup_agility.sp
spcomp -i ./ rrm_powerup_haste.sp
spcomp -i ./ rrm_powerup_plague.sp
spcomp -i ./ rrm_powerup_precision.sp
spcomp -i ./ rrm_powerup_resistance.sp
spcomp -i ./ rrm_powerup_strength.sp
spcomp -i ./ rrm_powerup_vampire.sp
spcomp -i ./ rrm_resize.sp
spcomp -i ./ rrm_stun.sp
spcomp -i ./ rrm_taunt.sp
- name: Deploy to GitHub Releases
uses: AButler/upload-release-assets@v2.0.2
with:
files: "*.smx"
repo-token: ${{ secrets.GITHUB_TOKEN }}