Це відео не доступне.
Перепрошуємо.
GitHub Actions - Configuration Variables
Вставка
- Опубліковано 4 лют 2023
- Are you tired of having to use secrets to store ALL your variable type values for GitHub Actions, even if the stuff isn't secret? I am too. Well guess what, we just released a beta of a solution for that problem, called configuration variables. Let's dive into that some.
Also, stick around till the end of the video, as I have a challenge for you....
Find Me:
Website: mickeygousset.com
GitHub: github.com/mic...
Twitter: / mickey_gousset
Twitch: / mickeygousset
They are all from Mississippi??
Correct!
Great video man, thanks, I've been waiting for this feature for ages
Thank you!
7:26 - Thank you for mentioning the "vars" and "secrets" keywords for accessing the variables. I come from Azure Pipelines and there is no such thing as "context" over there for env vars. You simply access the vars as $MY_VAR whether it's secret or not in the YAML, so GitHub Actions kinda threw me off a bit. Good video.
Great video! although I need one more piece of this puzzle:
How can we update the value for these from an action? Think, a flag that controls some functionality...
There are APIs you can use for this.
thank you for this video!
Do u know if there is a way to edit configuration variable values inside the workflow itself?
Yes you can!
docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#about-variables-in-github-actions
@@MickeyGousset You saved my nerves!
thank you for the video. very well done video.
thx you so much! ;D
You are welcome!