Update action.yml
This commit is contained in:
parent
2b9217ef02
commit
ecac1dd098
@ -23,7 +23,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- run: if [ ${{ inputs.is_folder }} == true ] && [ ! -d ${{ inputs.file }} ]; then echo "Not a folder!"; exit 1; fi
|
- run: if [ ${{ inputs.is_folder }} == true ] && [ ! -d ${{ inputs.file }} ]; then echo "Not a folder!"; exit 1; fi
|
||||||
- run: if [ ${{ inputs.is_folder }} == false ] && [ ! -f ${{ inputs.file }} ]; then echo "Not a file!"; exit 1; fi
|
- run: if [ ${{ inputs.is_folder }} == false ] && [ ! -f ${{ inputs.file }} ]; then echo "Not a file!"; exit 1; fi
|
||||||
- run: echo "Uploading '${{ inputs.filename }} to '${{ vars.PACK_HOST }}/api/upload/${{ gitea.repository }}/${{ inputs.feature }}'"
|
- run: echo "Uploading '${{ inputs.file }}' to '${{ vars.PACK_HOST }}/api/upload/${{ gitea.repository }}/${{ inputs.feature }}'"
|
||||||
- name: 'Upload file'
|
- name: 'Upload file'
|
||||||
run: |
|
run: |
|
||||||
curl -v -H 'Authorization: Bearer ${{ inputs.secret }}' \
|
curl -v -H 'Authorization: Bearer ${{ inputs.secret }}' \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user