mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:24:05 +00:00
ci: try using bash for pushing on windows; ignore phpstan error
This commit is contained in:
parent
693f05a0e0
commit
73ab190141
2 changed files with 3 additions and 7 deletions
8
.github/workflows/extensions.yml
vendored
8
.github/workflows/extensions.yml
vendored
|
|
@ -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
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue