mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-23 18:19:33 +01:00
Merge remote-tracking branch 'origin/master' into log-output
This commit is contained in:
commit
cda5fe54c7
1 changed files with 2 additions and 2 deletions
4
entrypoint.sh
Executable file → Normal file
4
entrypoint.sh
Executable file → Normal file
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/bash -l
|
#!/bin/bash -l
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
echo "======================"
|
echo "======================"
|
||||||
echo "= Linting YAML files ="
|
echo "= Linting YAML files ="
|
||||||
|
@ -33,6 +32,7 @@ shopt -s globstar
|
||||||
yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.}
|
yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.}
|
||||||
# | tee -a "$LOGFILE"
|
# | tee -a "$LOGFILE"
|
||||||
|
|
||||||
|
exitcode=$?
|
||||||
|
|
||||||
shopt -u globstar
|
shopt -u globstar
|
||||||
|
|
||||||
echo "::set-output name=logfile::$(realpath ${LOGFILE})"
|
|
||||||
|
|
Loading…
Reference in a new issue