From aa3c7fab8992a30acae6640a6035ef41e1017172 Mon Sep 17 00:00:00 2001 From: Adamantios Date: Mon, 18 Sep 2023 16:20:15 +0300 Subject: [PATCH] fix: release workflow Getting the tag was unsuccessful on the latest release [run](https://github.com/valory-xyz/trader/actions/runs/6221468092/job/16883643631#step:4:307). The `git describe` command failed with: ``` fatal: No names found, cannot describe anything. ``` The shallow cloning of the repo might have been the issue, therefore, we are now using `fetch-depth: 0` and the latest release of the `checkout` action. [no ci] --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6e27c75b5..7ed86e0c8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,7 +13,7 @@ jobs: os: [ubuntu-latest] python-version: ["3.10"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-versions }} @@ -40,10 +40,11 @@ jobs: DOCKER_USER: ${{secrets.DOCKER_USER}} DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up tag and vars uses: addnab/docker-run-action@v3 with: + fetch-depth: 0 image: valory/open-autonomy-user:latest options: -v ${{ github.workspace }}:/work run: |