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:
|
repo:
|
||||||
description: 'The owner/repo on Gitea.'
|
description: 'The owner/repo on Gitea.'
|
||||||
required: false
|
required: false
|
||||||
default: 'xenoxindustries/weld'
|
default: 'interkonnekted/weld'
|
||||||
token:
|
token:
|
||||||
description: 'Gitea Personal Access Token (PAT).'
|
description: 'Gitea Personal Access Token (PAT).'
|
||||||
required: true
|
required: true
|
||||||
@@ -30,7 +30,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Fetch release JSON from Gitea API
|
# 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'
|
# Extract Tag and Download URL for the asset named 'weld'
|
||||||
TAG=$(echo $RESPONSE | jq -r '.tag_name')
|
TAG=$(echo $RESPONSE | jq -r '.tag_name')
|
||||||
|
|||||||
Reference in New Issue
Block a user