Skip to content

Commit

Permalink
Always the includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikusch committed Feb 20, 2024
1 parent bbc48d9 commit eee1076
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Set environment variables
run: echo SCRIPTS_PATH=$(pwd) >> $GITHUB_ENV

- name: Download includes
run: wget -P ${{ env.SCRIPTS_PATH }}/addons/sourcemod/scripting/include https://raw.githubusercontent.com/nosoop/SM-TFUtils/master/scripting/include/tf2utils.inc

- name: Setup SourcePawn Compiler ${{ matrix.SM_VERSION }}
id: setup_sp
uses: rumblefrog/setup-sp@master
Expand All @@ -29,7 +32,7 @@ jobs:
- name: Compile plugins
run: |
mkdir ../plugins
spcomp -w234 -O2 -v2 -i"include" -o"../plugins/friendlyfire.smx" friendlyfire.sp
spcomp --warnings-as-errors -v2 -o "../plugins/friendlyfire.smx" friendlyfire.sp
echo "===OUT FILES==="
ls ../plugins
echo "===VERSION==="
Expand Down

0 comments on commit eee1076

Please sign in to comment.