Skip to content

Commit

Permalink
Update content/actions/using-workflows/workflow-commands-for-github-a…
Browse files Browse the repository at this point in the history
…ctions.md
  • Loading branch information
SiaraMist authored Jun 13, 2024
1 parent 6a028e5 commit 9220f38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ console.log("The running PID from the main action is: " + process.env.STATE_pro

## Environment files

During the execution of a workflow, the runner generates temporary files that can be used to perform certain actions. The path to these files can be accessed and edited using GitHub's default environment variables. See "[AUTOTITLE](https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables)." You will need to use UTF-8 encoding when writing to these files to ensure proper processing of the commands. Multiple commands can be written to the same file, separated by newlines.
During the execution of a workflow, the runner generates temporary files that can be used to perform certain actions. The path to these files can be accessed and edited using GitHub's default environment variables. See "[AUTOTITLE](/actions/learn-github-actions/variables#default-environment-variables)." You will need to use UTF-8 encoding when writing to these files to ensure proper processing of the commands. Multiple commands can be written to the same file, separated by newlines.
To use environment variables in a GitHub Action, you create or modify `.env` files using specific GitHub Actions commands.

Here's how:
Expand Down

0 comments on commit 9220f38

Please sign in to comment.