hopefully progress
This commit is contained in:
parent
664ed149f4
commit
1bc0a48cec
|
@ -22,9 +22,9 @@ jobs:
|
|||
|
||||
- name: Write Date File
|
||||
run: |
|
||||
echo -e -n "#pragma once\n#ifndef VCS_DATE\n#define VCS_DATE $(date "+%Y%m%d")\n#endif" > ./firmware/controllers/date_stamp.h
|
||||
echo -e -n "#pragma once\n#define VCS_DATE $(date "+%Y%m%d")\n" > ./firmware/controllers/date_stamp.h
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git config --local user.name "GitHub set-date Action"
|
||||
git commit -m "Update date" -a 2>&1 | grep -E '(nothing to commit|changed)'
|
||||
|
||||
- name: Push changed date file
|
||||
|
|
Loading…
Reference in New Issue