mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-22 19:15:05 +03:00
Fix restore-git-mtimes: download script instead of missing PyPI package.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8,5 +8,10 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
python3 -m pip install --disable-pip-version-check --quiet git-restore-mtime
|
if command -v git-restore-mtime >/dev/null 2>&1; then
|
||||||
python3 -m git_restore_mtime
|
git-restore-mtime
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
script="${RUNNER_TEMP}/git-restore-mtime"
|
||||||
|
curl -fsSL https://github.com/MestreLion/git-tools/raw/2024.11/git-restore-mtime -o "$script"
|
||||||
|
python3 "$script"
|
||||||
|
|||||||
Reference in New Issue
Block a user