fix: added curl follow redirect and change repo name
All checks were successful
Release / Release (push) Successful in 50s

This commit is contained in:
2026-01-08 18:22:23 +00:00
parent f4e8637479
commit 2773b04158

View File

@@ -9,7 +9,7 @@ inputs:
repo:
description: 'The owner/repo on Gitea.'
required: false
default: 'xenoxindustries/weld'
default: 'interkonnekted/weld'
token:
description: 'Gitea Personal Access Token (PAT).'
required: true
@@ -30,7 +30,7 @@ runs:
fi
# Fetch release JSON from Gitea API
RESPONSE=$(curl -s -H "Authorization: token ${{ inputs.token }}" "$GITEA_URL/$ENDPOINT")
RESPONSE=$(curl -sL -H "Authorization: token ${{ inputs.token }}" "$GITEA_URL/$ENDPOINT")
# Extract Tag and Download URL for the asset named 'weld'
TAG=$(echo $RESPONSE | jq -r '.tag_name')