dawidd6 / action-send-mail

:gear: A GitHub Action to send an email to multiple recipients
MIT License
443 stars 186 forks source link

`SUBJECT` as a env var. #163

Closed Rustam-Z closed 1 year ago

Rustam-Z commented 1 year ago

I have env var for creating subject. But when i am passing it as SUBJECT: $SUBJECT instead I receive $SUBJECT, but not the real content.

benjyw commented 1 year ago

https://github.com/dawidd6/action-send-mail/pull/173 may be helpful here (if you can get your subject into a file instead of an env var)

dawidd6 commented 1 year ago

How about setting the subject like this:

subject: ${{env.SUBJECT}}

?

dawidd6 commented 1 year ago

Solutions provided. Closing.