diff --git a/action.yaml b/action.yaml index 092026f..9241f54 100644 --- a/action.yaml +++ b/action.yaml @@ -18,4 +18,4 @@ runs: using: composite steps: - name: Upload - run: ${{ forgejo.action_path }}/entrypoint.sh + run: ${{ gitea.action_path }}/entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh old mode 100755 new mode 100644 index 0fcdede..70f5a03 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,31 +1,24 @@ #!/bin/bash -e -# https://codeberg.org/forgejo/forgejo/src/commit/bf80842b4f14a075c6840b6fe37d59b5ac3fac44/routers/api/actions/artifacts.go - -CURL=(curl -H "Authorization: Bearer $ACTIONS_RUNTIME_TOKEN") - -API="$GITHUB_SERVER_URL/api/actions_pipeline/_apis/pipelines/workflows/$GITHUB_RUN_ID/artifacts?api-version=6.0-preview" - -JSON="$(cat <