From 819f02f873ebe45bda4b7422fd22ee971d20246e Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 21 Nov 2023 14:47:04 +0100 Subject: [PATCH] fix get latest tag repo Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com> --- .github/workflows/basic_cli_test_arm64.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/basic_cli_test_arm64.yml b/.github/workflows/basic_cli_test_arm64.yml index f5300283d4a..388ba8701eb 100644 --- a/.github/workflows/basic_cli_test_arm64.yml +++ b/.github/workflows/basic_cli_test_arm64.yml @@ -48,9 +48,11 @@ jobs: - name: Get the repo of the latest basic-cli release run: | - mkdir basic-cli + git clone --depth 1 https://github.com/roc-lang/basic-cli cd basic-cli - ./ci/get_latest_release_git_files.sh + git fetch --tags + latestTag=$(git describe --tags $(git rev-list --tags --max-count=1)) + git checkout $latestTag - name: Run all tests with latest roc nightly and latest basic-cli release run: |