Update main.yml

This commit is contained in:
Herman Simensen 2021-09-08 03:51:22 +02:00 committed by GitHub
parent 12d726fc55
commit 5038383a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@ jobs:
- name: Set environment variables
run: |
echo "SCRIPTS_PATH=scripting" >> $GITHUB_ENV
mkdir package
- name: Setup SourcePawn Compiler
uses: rumblefrog/setup-sp@v1.0.1
@ -34,5 +35,11 @@ jobs:
- name: Compile EventQueueFix
run:
spcomp -E -w234 -O2 -v2 -i include eventqueuefix.sp
spcomp -E -w234 -O2 -v2 -i include -o ../package/eventqueuefix.smx eventqueuefix.sp
working-directory: ${{ env.SCRIPTS_PATH }}
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: eventqueuefix-dev
path: package