Skip to content

Commit a0c6626

Browse files
committed
Speed Up: don't apt-get update
1 parent 3f6af70 commit a0c6626

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ runs:
2020
# step: gather-py-versions
2121
set -euo pipefail; echo "now: $(date -u +"%Y-%m-%dT%H:%M:%S.%3N")"
2222
23-
if [[ $(sudo find /var/lib/apt/lists -type f -mtime -1 | wc -l) -eq 0 ]]; then
24-
# only if apt lists are older than 1 day
25-
sudo apt-get update
26-
fi
27-
2823
python -m venv action_venv
2924
. action_venv/bin/activate
3025
pip3 install -r ${{ github.action_path }}/requirements.txt

0 commit comments

Comments
 (0)