act/pkg/runner
Zettat123 f6a8a0e643 Add extra path env for running go actions (#26)
At present, the runner can't run go actions even if the go environment has been set by the `setup-go` action. The reason is that `setup-go` will add the go related paths to [`GITHUB_PATH`](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path) but in #22 I forgot to apply them before running go actions. After adding the `ApplyExtraPath` function, the `setup-go` action runs properly.

Reviewed-on: https://gitea.com/gitea/act/pulls/26
Reviewed-by: Jason Song <i@wolfogre.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
2023-03-21 15:31:30 +08:00
..
res Add super-linter + fix lint issues (#650) 2021-05-03 09:52:03 -07:00
testdata fix: crash if the id tool fails to run in the container (1660) 2023-03-08 14:41:25 +00:00
action.go Add extra path env for running go actions (#26) 2023-03-21 15:31:30 +08:00
action_composite.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
action_test.go refactor: fix savestate in pre steps (#1466) 2022-12-15 17:08:31 +00:00
command.go make sure special logs be sent to gitea's server (#25) 2023-03-17 23:01:31 +08:00
command_test.go refactor: fix savestate in pre steps (#1466) 2022-12-15 17:08:31 +00:00
container_mock_test.go chore: Remove obsolete Container.UpdateFromPath (#1631) 2023-02-16 16:11:26 +00:00
expression.go fix: update output handling for reusable workflows (#1521) 2023-02-23 22:34:47 +00:00
expression_test.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
job_executor.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
job_executor_test.go feat: allow to spawn and run a local reusable workflow (#1423) 2022-12-15 16:45:22 +00:00
logger.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
reusable_workflow.go fix: safe file name (#1651) 2023-03-03 08:38:33 +00:00
run_context.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
run_context_test.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
runner.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
runner_test.go test: Enshure ForcePull config doesn't break docker actions (1661) 2023-03-08 14:57:49 +00:00
step.go fix: add GITHUB_STEP_SUMMARY (#1607) 2023-02-23 15:24:44 +00:00
step_action_local.go Fix composite input handling (#1345) 2022-10-06 21:58:16 +00:00
step_action_local_test.go refactor: GITHUB_ENV command / remove env.PATH (#1503) 2023-02-04 13:35:13 +00:00
step_action_remote.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
step_action_remote_test.go Merge tag 'nektos/v0.2.43' 2023-03-16 11:45:29 +08:00
step_docker.go Merge tag 'nektos/v0.2.34' 2022-12-05 17:08:17 +08:00
step_docker_test.go refactor: GITHUB_ENV command / remove env.PATH (#1503) 2023-02-04 13:35:13 +00:00
step_factory.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_factory_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_run.go chore: use new style octal (#1630) 2023-02-16 15:34:51 +00:00
step_run_test.go chore: use new style octal (#1630) 2023-02-16 15:34:51 +00:00
step_test.go fix: github.job property is empty, GITHUB_JOB should be job id (#1646) 2023-02-27 19:10:31 +00:00