Latest console updates to a vesion from 3 days ago while reporting correct date fix #6557
only:fix
This commit is contained in:
parent
dae9d76b89
commit
87663b06b1
|
@ -10,6 +10,7 @@ name: Set Date
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-date:
|
update-date:
|
||||||
|
@ -24,7 +25,7 @@ jobs:
|
||||||
- name: Check last date
|
- name: Check last date
|
||||||
run: |
|
run: |
|
||||||
export RECENT_GIT_MESSAGE="$(git log -1 --pretty=%B)"
|
export RECENT_GIT_MESSAGE="$(git log -1 --pretty=%B)"
|
||||||
export RECENT_GIT_MESSAGE_11="${RECENT_GIT_MESSAGE:0:11}
|
export RECENT_GIT_MESSAGE_11="${RECENT_GIT_MESSAGE:0:11}"
|
||||||
echo "RECENT_GIT_MESSAGE=[$RECENT_GIT_MESSAGE] RECENT_GIT_MESSAGE_11=[${RECENT_GIT_MESSAGE_11}]"
|
echo "RECENT_GIT_MESSAGE=[$RECENT_GIT_MESSAGE] RECENT_GIT_MESSAGE_11=[${RECENT_GIT_MESSAGE_11}]"
|
||||||
if [ "$(RECENT_GIT_MESSAGE_11)" = "Update date" ]; then echo "skip=true" >> $GITHUB_ENV; fi
|
if [ "$(RECENT_GIT_MESSAGE_11)" = "Update date" ]; then echo "skip=true" >> $GITHUB_ENV; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue