티스토리 뷰

공부

[github] action .env variables $asdf

승가비 2023. 12. 18. 22:12
728x90

https://stackoverflow.com/questions/71179099/self-hosted-environment-variables-not-available-to-github-actions

 

Self hosted environment variables not available to Github actions

When running Github actions on a self hosted runner machine, how do I access existing custom environment variables that have been set on the machine, in my Github action .yaml script? I have set th...

stackoverflow.com

  job:
    runs-on: self-hosted
    steps:
      - run: env
      - run: echo $VAR

728x90
댓글