fix: gitea -> forgejo
This commit is contained in:
parent
a819335c68
commit
bf65b9a835
2 changed files with 2 additions and 2 deletions
|
@ -8,4 +8,4 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: download artifacts
|
||||
run: ${{ gitea.action_path }}/entrypoint.sh
|
||||
run: ${{ forgejo.action_path }}/entrypoint.sh
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue