[GH-ISSUE #473] supplying environment variables on the cli #329

Closed
opened 2026-03-01 21:42:25 +03:00 by kerem · 2 comments
Owner

Originally created by @matemoln on GitHub (Jan 14, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/473

Is there a way to add environment variables to be used in run steps without creating a .env file?

Originally created by @matemoln on GitHub (Jan 14, 2021). Original GitHub issue: https://github.com/nektos/act/issues/473 Is there a way to add environment variables to be used in `run` steps without creating a .env file?
kerem closed this issue 2026-03-01 21:42:25 +03:00
Author
Owner

@catthehacker commented on GitHub (Jan 14, 2021):

Currently not possible but I've meaning to add -e/--env like in Docker for some time already.

<!-- gh-comment-id:760307863 --> @catthehacker commented on GitHub (Jan 14, 2021): Currently not possible but I've meaning to add `-e`/`--env` like in Docker for some time already.
Author
Owner

@matemoln commented on GitHub (Jan 14, 2021):

Thanks for the quick response. I would very much appreciate the feature.

<!-- gh-comment-id:760314823 --> @matemoln commented on GitHub (Jan 14, 2021): Thanks for the quick response. I would very much appreciate the feature.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#329
No description provided.