From ecac1dd0981ce37ca7082aa0cb2a581d883fbc0a Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Thu, 5 Jun 2025 04:25:45 -0400 Subject: [PATCH] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}' \