From c7a4834020886ff8b139b5b27ca76a85882d24c4 Mon Sep 17 00:00:00 2001 From: Konboi Date: Tue, 12 Sep 2023 14:50:21 +0900 Subject: [PATCH] retry action doesn't support working-directory and set timeout minutes --- .github/workflows/e2e.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index a04f4f2..b2ee1b7 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -33,9 +33,13 @@ jobs: uses: nick-fields/retry@v2 with: max_attempts: 3 + timeout_minutes: 5 retry_on: error - command: python -m pip install --upgrade pip && pip install -r test-requirements.txt - working-directory: ./e2e + command: | + cd ./e2e + python -m pip install wheel + python -m pip install --upgrade pip + pip install -r test-requirements.txt - name: Preapre tests run: | launchable record build --name ${GITHUB_RUN_ID} @@ -44,7 +48,6 @@ jobs: run: | python runner.py working-directory: ./e2e - - uses: actions/checkout@v2 - name: slack notify if: failure() uses: rtCamp/action-slack-notify@v2