Don't set -e as curl returns non-0 in various scenarios
This commit is contained in:
@@ -16,8 +16,6 @@ runs:
|
||||
name: Deploy artifacts
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
|
||||
cd ${{ gitea.workspace }}
|
||||
SPECFILE=$([ "${{ inputs.specfile }}" ] && echo -n "${{ inputs.specfile }}" || echo -n $([ $(ls -1 *.spec 2>/dev/null| wc -l) -eq 1 ] && echo -n "$(ls -1 *.spec)"))
|
||||
[ "$SPECFILE" == "" ] && exit 1
|
||||
|
||||
Reference in New Issue
Block a user