From 84d43a5634fad6ce37e46cea8b336b275ffe65a8 Mon Sep 17 00:00:00 2001 From: Thomas Killen Date: Fri, 12 Sep 2025 12:41:35 +0000 Subject: [PATCH] fix: use explicit path to actions script (#2) Reviewed-on: https://stackit.git.onstackit.cloud/actions/forgejo-release/pulls/2 Co-authored-by: Thomas Killen Co-committed-by: Thomas Killen --- action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 3057726..eca6d23 100644 --- a/action.yml +++ b/action.yml @@ -63,8 +63,6 @@ runs: key: rna-${{ inputs.repo }} path: ${{ forge.action_path }}/rna - - run: echo "${{ forge.action_path }}" >> $FORGEJO_PATH - shell: bash - run: | export FORGEJO="${{ inputs.url }}" # A trailing / will mean http://forgejo//api/v1 is used @@ -113,5 +111,5 @@ runs: echo -n "${{ inputs.gpg-passphrase }}" > $TMP_DIR/gpg-passphrase export GPG_PASSPHRASE="$TMP_DIR/gpg-passphrase" - forgejo-release.sh ${{ inputs.direction }} + ${{ forge.action_path }}/forgejo-release.sh ${{ inputs.direction }} shell: bash