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:
@@ -35,7 +35,7 @@ runs:
|
|||||||
- name: Fetch release from Gitea
|
- name: Fetch release from Gitea
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
./scripts/fetch-gitea-release.sh
|
"${{ github.action_path }}/scripts/fetch-gitea-release.sh"
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ inputs.gitea_token }}
|
GITEA_TOKEN: ${{ inputs.gitea_token }}
|
||||||
GITEA_URL: ${{ inputs.gitea_url }}
|
GITEA_URL: ${{ inputs.gitea_url }}
|
||||||
@@ -52,4 +52,4 @@ runs:
|
|||||||
export GITHUB_OWNER="${{ inputs.github_owner }}"
|
export GITHUB_OWNER="${{ inputs.github_owner }}"
|
||||||
export GITHUB_REPO="${{ inputs.github_repo }}"
|
export GITHUB_REPO="${{ inputs.github_repo }}"
|
||||||
export GITHUB_TOKEN="${{ inputs.github_token }}"
|
export GITHUB_TOKEN="${{ inputs.github_token }}"
|
||||||
./scripts/upsert-github-release.sh
|
"${{ github.action_path }}/scripts/upsert-github-release.sh"
|
||||||
|
Reference in New Issue
Block a user