From 85b4eb675a32d02c9d51a4fc9bc3bbb23553ef85 Mon Sep 17 00:00:00 2001 From: jub0bs Date: Sun, 26 Jan 2025 17:42:12 +0100 Subject: [PATCH] Try again --- .github/workflows/cors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cors.yml b/.github/workflows/cors.yml index 230e5be..d1d7a29 100644 --- a/.github/workflows/cors.yml +++ b/.github/workflows/cors.yml @@ -16,7 +16,7 @@ jobs: git --version - name: Set color id: color-selector - run: echo "SELECTED_COLOR=$(git --version)" >> "$GITHUB_OUTPUT" + run: echo "SELECTED_COLOR=$(git for-each-ref --sort=-version:refname --format='%(refname:lstrip=2)' refs/tags | head -1)" >> "$GITHUB_OUTPUT" - name: Get color env: SELECTED_COLOR: ${{ steps.color-selector.outputs.SELECTED_COLOR }}