From c54646e54525003a413d85ee8e2ccda852de8506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Fri, 17 Nov 2023 11:35:36 +0100 Subject: [PATCH] Use git fetch directly --- .github/workflows/desktop-e2e.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml index 511a450cc7a3..dc6f84a2eb81 100644 --- a/.github/workflows/desktop-e2e.yml +++ b/.github/workflows/desktop-e2e.yml @@ -70,11 +70,10 @@ jobs: path: ~/.cache/mullvad-test/packages - name: Checkout repository uses: actions/checkout@v4 - with: - fetch-tags: true - name: Run end-to-end tests shell: bash -ieo pipefail {0} run: | + git fetch --tags --force ./test/ci-runtests.sh ${{ matrix.os }} - uses: actions/upload-artifact@v3 if: '!cancelled()' @@ -140,11 +139,10 @@ jobs: path: ~/.cache/mullvad-test/packages - name: Checkout repository uses: actions/checkout@v4 - with: - fetch-tags: true - name: Run end-to-end tests shell: bash -ieo pipefail {0} run: | + git fetch --tags --force ./test/ci-runtests.sh ${{ matrix.os }} - uses: actions/upload-artifact@v3 if: '!cancelled()' @@ -210,11 +208,10 @@ jobs: path: ~/Library/Caches/mullvad-test/packages - name: Checkout repository uses: actions/checkout@v4 - with: - fetch-tags: true - name: Run end-to-end tests shell: bash -ieo pipefail {0} run: | + git fetch --tags --force ./test/ci-runtests.sh ${{ matrix.os }} - uses: actions/upload-artifact@v3 if: '!cancelled()'