From 8db8546a9c4311c0848140af11d81765d04f33ab Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 14 Jan 2023 00:02:59 +0900 Subject: [PATCH] Add note about composite action --- main.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main.js b/main.js index 3cb8b900..99cf8472 100644 --- a/main.js +++ b/main.js @@ -1,3 +1,14 @@ +// This is a script that just calls the bash script that does the main +// processing of the action. It works like a composite action that calls +// a single bash script. +// +// This was originally a trick adopted to make bash script-based actions work +// without docker before composite actions were supported. However, due to +// various problems with composite actions, this trick is still needed: +// - https://github.com/actions/runner/issues/665 +// - https://github.com/actions/runner/issues/1947 +// - https://github.com/actions/runner/issues/2185 + const { execFileSync } = require('child_process'); function main() {