Closed TWiStErRob closed 9 months ago
Feature request artifactServer.port should allow undefined value, because act has a default for --artifact-server-port, https://github.com/nektos/act/blob/v0.2.54/cmd/root.go#L93
artifactServer.port
act
--artifact-server-port
Additional context I'm trying to overwrite artifactServer.path so the output is in a folder I can observe in the test. For this I have to do (testOutput returns an absolute path):
artifactServer.path
testOutput
const result = await act.runEventAndJob("workflow_call", "unit-tests", { logFile: testOutput("act.log"), artifactServer: { path: testOutput("artifacts"), port: 34567 /* default: https://github.com/nektos/act/blob/v0.2.54/cmd/root.go#L93 */ }, });
Notice that I do not need to set the port value to achieve what I want, the default would suffice.
port
Feature request
artifactServer.port
should allow undefined value, becauseact
has a default for--artifact-server-port
, https://github.com/nektos/act/blob/v0.2.54/cmd/root.go#L93Additional context I'm trying to overwrite
artifactServer.path
so the output is in a folder I can observe in the test. For this I have to do (testOutput
returns an absolute path):Notice that I do not need to set the
port
value to achieve what I want, the default would suffice.