update workflow versions

This commit is contained in:
rtldg 2025-01-11 01:03:46 +00:00
parent 7744bf4b81
commit 661a4cbcd9

View File

@ -21,26 +21,26 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Set environment variables - name: Set environment variables
run: | run: |
echo "SCRIPTS_PATH=scripting" >> $GITHUB_ENV echo "SCRIPTS_PATH=scripting" >> $GITHUB_ENV
mkdir plugins mkdir plugins
- name: Setup SourcePawn Compiler - name: Setup SourcePawn Compiler
uses: rumblefrog/setup-sp@v1.0.1 uses: rumblefrog/setup-sp@v1.2.4
with: with:
# Version of SP compiler # Version of SP compiler
version: 1.10.x version: 1.10.x
- name: Compile EventQueueFix - name: Compile EventQueueFix
run: run:
spcomp -E -w234 -O2 -v2 -i include -o ../plugins/eventqueuefix.smx eventqueuefix.sp spcomp -E -w234 -O2 -v2 -i include -o ../plugins/eventqueuefix.smx eventqueuefix.sp
working-directory: ${{ env.SCRIPTS_PATH }} working-directory: ${{ env.SCRIPTS_PATH }}
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: eventqueuefix-dev name: eventqueuefix-dev
path: | path: |