From 11275076a12022816d40101769b71b9190163220 Mon Sep 17 00:00:00 2001 From: Pere Diaz Bou Date: Tue, 17 Jun 2025 19:26:44 +0200 Subject: [PATCH] overwrite sqlite3 in install_sqlite It looks like its possible to have sqlite3 persisted between runs somehow, let's make sure we overwrite it. Context: ``` Prepare all required actions Run ./.github/shared/install_sqlite Run curl -o /tmp/sqlite.zip https://sqlite.org/$YEAR/sqlite-tools-linux-x64-$SQLITE_VERSION.zip > /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 3292k 2 98304 0 0 326k 0 0:00:10 --:--:-- 0:00:10 326k 100 3292k 100 3292k 0 0 6686k 0 --:--:-- --:--:-- --:--:-- 6678k replace /usr/local/bin/sqlite3? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL (EOF or read error, treating as "[N]one" ...) Archive: /tmp/sqlite.zip Error: Process completed with exit code 1. ``` --- .github/shared/install_sqlite/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/shared/install_sqlite/action.yml b/.github/shared/install_sqlite/action.yml index 533d4e17d..8d56bbe96 100644 --- a/.github/shared/install_sqlite/action.yml +++ b/.github/shared/install_sqlite/action.yml @@ -10,6 +10,6 @@ runs: YEAR: 2025 run: | curl -o /tmp/sqlite.zip https://sqlite.org/$YEAR/sqlite-tools-linux-x64-$SQLITE_VERSION.zip > /dev/null - unzip -j /tmp/sqlite.zip sqlite3 -d /usr/local/bin/ + echo "y" | unzip -j /tmp/sqlite.zip sqlite3 -d /usr/local/bin/ sqlite3 --version shell: bash