From b2b5ff59a53326f192028abdd2fee5b784c02523 Mon Sep 17 00:00:00 2001 From: AlexVeeBee Date: Tue, 27 Feb 2024 00:09:09 +0000 Subject: [PATCH] apt update --- .github/workflows/main.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dfb63a0..dc7b5d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,13 +20,19 @@ jobs: python-version: [ '3.11' ] steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - path: ~/.cache - python-version: ${{ matrix.python-version }} - cache: 'pip' - env: - CI: true - AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool + - uses: actions/checkout@v4 + + - name: apt update + run: | + apt update + apt full-upgrade -y + + - uses: actions/setup-python@v4 + with: + path: ~/.cache + python-version: ${{ matrix.python-version }} + cache: 'pip' + env: + CI: true + AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool