GitHub GitHub Actions Python GitHub Actions で output への出力を Python で行う¶ GitHub Actions のステップから値を output として渡すため、Python でGITHUB_OUTPUTが指すファイルへ追記する。 1 2 3 4 5 6import os key = foo value = bar with open(os.environ["GITHUB_OUTPUT"], "a") as f : print("{0}={1}".format(key, value), file=f) 参考 How to Patch the Deprecated set-output in GitHub Workflows and in Container Actions - DEV Community