From d6e6c528fe9684732022fb81d3eed886bfcbf3b4 Mon Sep 17 00:00:00 2001 From: Nahuel Date: Sat, 1 Jun 2024 20:22:11 -0300 Subject: [PATCH 1/2] Add MySQL to workflows --- .github/workflows/compile.yml | 3 ++- .github/workflows/package.yml | 1 + scripts/package.sh | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 69af8ce..fdc1272 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -26,5 +26,6 @@ jobs: ./spcomp -E textstore.sp -o ../plugins/textstore.smx ./spcomp -E textstore_defaults.sp -o ../plugins/textstore_defaults.smx ./spcomp -E textstore_generic.sp -o ../plugins/textstore_generic.smx - ./spcomp textstore_sqlite.sp -o ../plugins/textstore_sqlite.smx + ./spcomp -E textstore_sqlite.sp -o ../plugins/textstore_sqlite.smx + ./spcomp -E textstore_mysql.sp -o ../plugins/textstore_mysql.smx ./spcomp -E textstore_tf2.sp -o ../plugins/textstore_tf2.smx diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index d1a2616..d51f146 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -31,6 +31,7 @@ jobs: ./spcomp textstore_defaults.sp -o ../plugins/textstore_defaults.smx ./spcomp textstore_generic.sp -o ../plugins/textstore_generic.smx ./spcomp textstore_sqlite.sp -o ../plugins/textstore_sqlite.smx + ./spcomp textstore_mysql.sp -o ../plugins/textstore_mysql.smx ./spcomp textstore_tf2.sp -o ../plugins/textstore_tf2.smx - name: Package diff --git a/scripts/package.sh b/scripts/package.sh index d523f6f..b6ac119 100644 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -11,5 +11,6 @@ cp -r addons/sourcemod/plugins/textstore.smx package/addons/sourcemod/plugins cp -r addons/sourcemod/plugins/textstore_defaults.smx package/addons/sourcemod/plugins/disabled cp -r addons/sourcemod/plugins/textstore_generic.smx package/addons/sourcemod/plugins/disabled cp -r addons/sourcemod/plugins/textstore_sqlite.smx package/addons/sourcemod/plugins/disabled +cp -r addons/sourcemod/plugins/textstore_mysql.smx package/addons/sourcemod/plugins/disabled cp -r addons/sourcemod/plugins/textstore_tf2.smx package/addons/sourcemod/plugins/disabled cp -r ../addons/sourcemod/configs/textstore package/addons/sourcemod/configs \ No newline at end of file From c1c972a36ea3edc0c54da7f67cc02351b63962d5 Mon Sep 17 00:00:00 2001 From: Joacoco <45585078+Joaquel@users.noreply.github.com> Date: Sun, 2 Jun 2024 17:14:16 -0300 Subject: [PATCH 2/2] Remove -E parameter for SQL --- .github/workflows/compile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index fdc1272..cee397d 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -26,6 +26,6 @@ jobs: ./spcomp -E textstore.sp -o ../plugins/textstore.smx ./spcomp -E textstore_defaults.sp -o ../plugins/textstore_defaults.smx ./spcomp -E textstore_generic.sp -o ../plugins/textstore_generic.smx - ./spcomp -E textstore_sqlite.sp -o ../plugins/textstore_sqlite.smx - ./spcomp -E textstore_mysql.sp -o ../plugins/textstore_mysql.smx + ./spcomp textstore_sqlite.sp -o ../plugins/textstore_sqlite.smx + ./spcomp textstore_mysql.sp -o ../plugins/textstore_mysql.smx ./spcomp -E textstore_tf2.sp -o ../plugins/textstore_tf2.smx