From 766acca47e751f85b19531cb52be6cc0ea00e282 Mon Sep 17 00:00:00 2001 From: sergey Date: Tue, 23 Jul 2024 03:42:07 +0300 Subject: [PATCH] fixed download history --- .github/workflows/run_tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index e1ed9dc..73221a3 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -15,6 +15,10 @@ jobs: runs-on: ubuntu-latest name: Download history steps: + - name: setup Python + uses: actions/setup-python@v4 + with: + python-version: "3.10" - run: > ARTIFACT_ID=$(curl -L -H "Accept: application/vnd.github+json" @@ -27,8 +31,7 @@ jobs: -H "Authorization: Bearer ${{ secrets.TOKEN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/SiarheiZhachek/QA_diploma/actions/artifacts/$ARTIFACT_ID/zip - -o artifacts.zip - && + -o artifacts.zip && REPORT_ID=$(curl -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28"