diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2de751..1f9b2cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + - name: Compile Plugins + run: |- + for file in *.sp; do + spcomp -i ./ "$file" + done \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78484ec..6756961 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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