You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This script outputs all environment variables in GitHub Actions env format
4
+
# Usage: ./pass-env-vars.sh >> $GITHUB_ENV
5
+
6
+
# Get all environment variables and format them for GitHub Actions
7
+
env |while IFS='='read -r key value;do
8
+
# Skip some system variables that shouldn't be passed
9
+
if [[ !"$key"=~ ^(PATH|HOME|USER|SHELL|PWD|OLDPWD|LANG|LC_|TERM|DISPLAY|SSH_|XDG_|WAYLAND_|GNOME_|KDE_|DESKTOP_|SESSION_|WINDOWMANAGER|COLORTERM|DBUS_|XDG_RUNTIME_DIR)$ ]];then
0 commit comments