chore(deps): bump mindsers/changelog-reader-action from 2.0.0 to 2.2.2 #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Sourcemod compilation | |
on: | |
pull_request: | |
branches: master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set environment variables | |
run: echo SCRIPTS_PATH=$(pwd) >> $GITHUB_ENV | |
- name: Setup SourcePawn Compiler ${{ matrix.SM_VERSION }} | |
id: setup_sp | |
uses: rumblefrog/setup-sp@master | |
with: | |
version: '1.10.x' | |
version-file: ./scripting/SurfTimer-discord.sp | |
- name: Compile plugins | |
run: | | |
cd scripting | |
for file in ./SurfTimer-discord.sp | |
do | |
echo -e "\nCompiling $file..." | |
spcomp -E -w234 -O2 -v2 -i include $file | |
done | |
echo "===OUT FILES===" | |
ls | |
echo version = ${{ steps.setup_sp.outputs.plugin-version }} | |
working-directory: ${{ env.SCRIPTS_PATH }} |