diff --git a/action.yaml b/action.yaml index 867c196..0d8f095 100644 --- a/action.yaml +++ b/action.yaml @@ -8,4 +8,4 @@ runs: using: composite steps: - name: download artifacts - run: ${{ gitea.action_path }}/entrypoint.sh + run: ${{ forgejo.action_path }}/entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index f47c4c4..7a7b58d 100755 --- a/entrypoint.sh +++ b/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