I need to get the current date on a windows workflow into an env variable.
Obviously, this is not working :
- name: Set current date as env variable
run: echo "NOW=Get-Date -format "yyyy-MM-dd"" >> $GITHUB_ENV
All example I found are running on linux :(
How to to this on a windows runner ?