Skip to content

Update gamedata for Windows #13

Update gamedata for Windows

Update gamedata for Windows #13

Workflow file for this run

name: Compile
on:
pull_request:
branches: master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
sm-version: [ '1.11.x', '1.12.x']
steps:
- name: Install Checkout
uses: actions/checkout@v1
- name: Install Setup SP ${{ matrix.sm-version }}
uses: rumblefrog/setup-sp@master
with:
version: ${{ matrix.sm-version }}
- name: Get GitHub Env
run: |
echo "PLUGIN_VERSION_REVISION<<EOF" >> $GITHUB_ENV
git rev-list --count HEAD >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Install Misc
run: |
mkdir -p addons/sourcemod/scripting/include
cd addons/sourcemod/scripting/include
wget "https://raw.githubusercontent.com/FlaminSarge/tf2attributes/master/scripting/include/tf2attributes.inc"
wget "https://raw.githubusercontent.com/nosoop/SMExt-TF2Items/main/pawn/tf2items.inc"
working-directory: ./
- name: Compile ${{ matrix.sm-version }}
run: spcomp -E -O2 -v2 -i "include" -o "tf2_custom_taunts" tf2_custom_taunts.sp
working-directory: addons/sourcemod/scripting