Actualiser action.yaml
This commit is contained in:
@@ -12,6 +12,9 @@ inputs:
|
|||||||
gitea_repository:
|
gitea_repository:
|
||||||
required: false
|
required: false
|
||||||
default: 'pmo-actions/bash-library'
|
default: 'pmo-actions/bash-library'
|
||||||
|
gitea_branch:
|
||||||
|
required: false
|
||||||
|
default: 'main'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
@@ -23,5 +26,5 @@ runs:
|
|||||||
check_command curl
|
check_command curl
|
||||||
|
|
||||||
curl -sSL \
|
curl -sSL \
|
||||||
'${{ inputs.gitea_server }}/${{ inputs.gitea_repository }}/raw/branch/bashlib.sh' \
|
'${{ inputs.gitea_server }}/${{ inputs.gitea_repository }}/raw/${{ inputs.branch }}/bashlib.sh' \
|
||||||
-o "${{ github.action_path }}/../${{ inputs.script }}"
|
-o "${{ github.action_path }}/../${{ inputs.script }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user