Update action.yml

This commit is contained in:
Kenneth Jao 2025-06-05 04:25:45 -04:00
parent 2b9217ef02
commit ecac1dd098

View File

@ -23,7 +23,7 @@ runs:
steps:
- 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: 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'
run: |
curl -v -H 'Authorization: Bearer ${{ inputs.secret }}' \