abinoda / slack-action

GitHub Action for posting Slack messages
MIT License
270 stars 37 forks source link

Is it possible to pass env variables to the message block? #23

Open everspader opened 3 years ago

everspader commented 3 years ago

How would I go about doing something like:

with:
    args: '{\"channel\":\"C1234567890\",\"text\":\"Hello world $VERSION \"}'
juraj-slavicek commented 3 years ago
with:
    args: '{\"channel\":\"C1234567890\",\"text\":\"Hello world ${{env.VERSION}} \"}'