From 664c3892e22aab6501f9f5c5fb5473da605528a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=A1=A0=E1=A0=B5=E1=A1=A0=E1=A1=B3=20=E1=A1=A0=E1=A0=B5?= =?UTF-8?q?=E1=A1=A0=20=E1=A0=AE=E1=A0=A0=E1=A0=A8=E1=A1=A9=E1=A0=8B?= =?UTF-8?q?=E1=A0=A0=E1=A0=A8?= <125150101+UjuiUjuMandan@users.noreply.github.com> Date: Sun, 5 Jan 2025 11:20:34 +0800 Subject: [PATCH] Grab tags instead of releases (#89) --- .github/workflows/tidy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tidy.yml b/.github/workflows/tidy.yml index f59fadd4..b21fcb38 100644 --- a/.github/workflows/tidy.yml +++ b/.github/workflows/tidy.yml @@ -21,7 +21,7 @@ jobs: id: fetch-release run: | EXTERNAL_REPO="XTLS/Xray-core" - LATEST_TAG=$(curl -s https://api.github.com/repos/$EXTERNAL_REPO/releases/latest | jq -r '.tag_name') + LATEST_TAG=$(curl -s https://api.github.com/repos/$EXTERNAL_REPO/tags | jq -r '.[0].name') echo "Latest tag from external repo: $LATEST_TAG" echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV