From d2188514166cea7fc5183fb58c4d456e9a66d9d8 Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Sun, 16 May 2021 12:24:45 +0200 Subject: [PATCH] Fix ci workflow --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e51aae04e..baa3c5a00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,11 +18,11 @@ jobs: uses: actions/checkout@v2 - name: Fetch tags - run: git fetch --tags + run: git fetch --all --tags - name: Get latest tag id: latest-tag - run: echo "::set-output name=LATEST_TAG::$(git tag --list 2>/dev/null | tail -n1 2>/dev/null)" + run: echo "::set-output name=LATEST_TAG::$(git describe --tags `git rev-list --tags --max-count=1`)" - name: Get yarn cache directory path id: yarn_cache