1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 19:14:03 +00:00

ci: try using bash for pushing on windows; ignore phpstan error

This commit is contained in:
Samuel Štancl 2025-01-02 09:54:41 +01:00
parent 693f05a0e0
commit 73ab190141
2 changed files with 3 additions and 7 deletions

View file

@ -86,8 +86,8 @@ jobs:
git add lib/ git add lib/
git commit -m "Auto-build: Update extensions [skip ci]" || echo "No changes to commit" git commit -m "Auto-build: Update extensions [skip ci]" || echo "No changes to commit"
- name: Push files (Unix) - name: Push files
if: runner.os != 'Windows' shell: bash
run: | run: |
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
for attempt in {1..3}; do for attempt in {1..3}; do
@ -99,7 +99,3 @@ jobs:
echo "Failed to push changes after 3 attempts." echo "Failed to push changes after 3 attempts."
exit 1 exit 1
- name: Push files (Windows)
if: runner.os == 'Windows'
run: git pull --rebase && git push

View file

@ -62,7 +62,7 @@ class DisallowSqliteAttach implements Feature
return false; return false;
} }
$pdo->loadExtension(static::$extensionPath); $pdo->loadExtension(static::$extensionPath); // @phpstan-ignore method.notFound
return true; return true;
} }