diff --git a/action.yml b/action.yml index 3f48da2..0d1a1c9 100644 --- a/action.yml +++ b/action.yml @@ -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 }}' \