fix(action): use action path for script execution

- Ensures scripts are executed using the GitHub action path
- Improves reliability in locating script files
This commit is contained in:
2025-05-26 16:37:28 +02:00
parent a0e425cc35
commit 1a65639e71

View File

@@ -35,7 +35,7 @@ runs:
- name: Fetch release from Gitea
shell: bash
run: |
./scripts/fetch-gitea-release.sh
"${{ github.action_path }}/scripts/fetch-gitea-release.sh"
env:
GITEA_TOKEN: ${{ inputs.gitea_token }}
GITEA_URL: ${{ inputs.gitea_url }}
@@ -52,4 +52,4 @@ runs:
export GITHUB_OWNER="${{ inputs.github_owner }}"
export GITHUB_REPO="${{ inputs.github_repo }}"
export GITHUB_TOKEN="${{ inputs.github_token }}"
./scripts/upsert-github-release.sh
"${{ github.action_path }}/scripts/upsert-github-release.sh"