fix: gitea -> forgejo

This commit is contained in:
ange 2025-10-22 05:38:48 +00:00
parent a819335c68
commit bf65b9a835
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
2 changed files with 2 additions and 2 deletions

View file

@ -8,4 +8,4 @@ runs:
using: composite
steps:
- name: download artifacts
run: ${{ gitea.action_path }}/entrypoint.sh
run: ${{ forgejo.action_path }}/entrypoint.sh

View file

@ -1,7 +1,7 @@
#!/bin/bash -e
curl --fail -v -D /dev/stdout -o resp0.json --header "Authorization: Bearer ${{ inputs.token }}" \
"${{ gitea.server_url }}/api/actions_pipeline/_apis/pipelines/workflows/${{ gitea.run_id }}/artifacts?api-version=6.0-preview"
"${{ forgejo.server_url }}/api/actions_pipeline/_apis/pipelines/workflows/${{ forgejo.run_id }}/artifacts?api-version=6.0-preview"
cat resp0.json
container_url=$(jq -r '.value.[] | select(.name == "${{ inputs.name }}").fileContainerResourceUrl' resp0.json)
echo $container_url