From 9a35e8b2d415e022d5bfae40e34ed2f5ec1ddc7b Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Mon, 28 Sep 2026 21:45:35 -0400 Subject: [PATCH] update apt-get in github actions --- .github/workflows/github-actions.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index abcccff..412e1b3 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -22,7 +22,9 @@ jobs: steps: - name: Install xmllint on Linux if: runner.os == 'Linux' - run: sudo apt-get install libxml2-utils + run: | + sudo apt-get update + sudo apt-get install libxml2-utils - name: Get Safe PYTHON_VERSION run: echo "PYTHON_VERSION=$(curl --location https://devguide.python.org/versions | xmllint --html --xpath '//section[@id="supported-versions"]//table/tbody/tr[count(//section[@id="supported-versions"]//table/tbody/tr[td[.="security"]]/preceding-sibling::*)]/td[1]/p/text()' - 2> /dev/null)" >> $GITHUB_ENV