Skip to content

Commit

Permalink
simplify compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute committed Aug 15, 2024
1 parent 4848f1b commit 95ba7a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 52 deletions.
31 changes: 5 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,8 @@ jobs:
url: https://raw.githubusercontent.com/KatsuteTF/RRM/main/addons/sourcemod/include/rrm.inc
file: rrm.inc

- name: Compile Plugin
run: |
spcomp -i ./ rrm_attribute_clip.sp
spcomp -i ./ rrm_attribute_firing.sp
spcomp -i ./ rrm_attribute_projectile.sp
spcomp -i ./ rrm_attribute_spread.sp
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_skeletons.sp
spcomp -i ./ rrm_stun.sp
spcomp -i ./ rrm_taunt.sp
- name: Compile Plugins
run: |-
for file in *.sp; do
spcomp -i ./ "$file"
done
31 changes: 5 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,11 @@ jobs:
url: https://raw.githubusercontent.com/KatsuteTF/RRM/main/addons/sourcemod/include/rrm.inc
file: rrm.inc

- name: Compile Plugin
run: |
spcomp -i ./ rrm_attribute_clip.sp
spcomp -i ./ rrm_attribute_firing.sp
spcomp -i ./ rrm_attribute_projectile.sp
spcomp -i ./ rrm_attribute_spread.sp
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_skeletons.sp
spcomp -i ./ rrm_stun.sp
spcomp -i ./ rrm_taunt.sp
- name: Compile Plugins
run: |-
for file in *.sp; do
spcomp -i ./ "$file"
done
- name: Deploy to GitHub Releases
uses: AButler/upload-release-assets@v2.0.2
Expand Down

0 comments on commit 95ba7a5

Please sign in to comment.