fix: added curl follow redirect and change repo name
All checks were successful
Release / Release (push) Successful in 50s
All checks were successful
Release / Release (push) Successful in 50s
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user