From 978c4c6112145b62c06c8774855d83ef7cd4ea3b Mon Sep 17 00:00:00 2001 From: Jorropo Date: Tue, 16 Jan 2024 11:35:00 +0100 Subject: [PATCH] ci: fix helia --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e0c91105392..38a32f238459 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,13 +73,12 @@ jobs: - uses: actions/checkout@v4 with: repository: ipfs/helia - fetch-depth: 1 + fetch-depth: 0 path: interop - ref: 'ea5533c794df844c9fb9812e85e2f5e6af09efeb' # temporary while this commit is being released + ref: 'main' - name: Checkout latest tag run: | - exit 0 # temporary while ea5533c794df844c9fb9812e85e2f5e6af09efeb is released - export TAG="$(git describe --tags --abbrev=0)" + export TAG="$(git tag | grep "^helia" | sort --version-sort --reverse | head -n1)" echo "Running tests against: $TAG" git checkout "$TAG" working-directory: interop