Skip to content

Commit 8b1ba83

Browse files
Fix repo url
1 parent b7f231e commit 8b1ba83

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
run: |
2929
VERSION=$(grep '^version=' gradle.properties | cut -d'=' -f2)
3030
TAG="v${VERSION}"
31-
if git ls-remote --tags origin | grep -q "refs/tags/${TAG}$"; then
31+
REPO_URL="https://github.com/${{ github.repository }}"
32+
if git ls-remote --tags "${REPO_URL}" | grep -q "refs/tags/${TAG}$"; then
3233
echo "============================================="
3334
echo "ERROR: Tag ${TAG} already exists!"
3435
echo ""

0 commit comments

Comments
 (0)