Cat™
a9b3d6426b
Use static initial PATH ( #462 )
2021-01-11 22:27:16 -08:00
Wink Saville
3f3de6e0b1
Use PathListSeparator ( #408 )
...
In PR #406 I used PathSeparator and I should have used PathListSeparator.
See: https://golang.org/pkg/os/#pkg-constants
2020-11-04 11:54:48 -08:00
Wink Saville
8204ef4b82
Change handling of ExtraPath ( #406 )
...
To make the handling of ExtraPath portable append it to the front of the
PATH when it exists, instead of always changing the script.
2020-11-02 13:56:20 -08:00
Taliesin Sisson
014d71af43
When running on Windows the correct path separator must be used ( #386 )
...
* When running on Windows the correct path separator must be used. filePath.join is OS aware, so when we want to use forward slash use path.join instead.
on windows docker cp should end with \. when copying a directory
when running npm modules we should pass in path with all forward slashes
This fixes #331
* When calculating relative folders on Windows for destination path on Linux, we need to change \ for /
* Reduce complexity by extracting methods
* V1 does not point to a file that does not exist
* Looks like something else is the cause of this test breaking. Last successful build is #371 , builds after that are failing
2020-10-08 22:30:50 -07:00
Javier Romero
729adec5e5
Fix path for local node12 actions ( #371 )
...
Fixes #185
Signed-off-by: Javier Romero <root@jromero.codes>
2020-09-29 13:39:45 -07:00
Julian Squires
e698e8b324
Support setting shell via defaults.run ( #343 )
...
Note that we don't support the more general use of defaults, just its
run key for setting shell and working directory.
The documentation for defaults.run is here:
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun
Fixes #214 .
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-08-28 11:52:25 -07:00
watiko
26e4270e41
fix file permission for non root user docker image ( #334 )
2020-08-08 13:31:26 -07:00
whywaita
24bdb024bf
add flag of privileged mode
2020-08-02 05:21:49 +09:00
Josh Soref
64b8d2afa4
Properly pass format argument to avoid MISSING ( #290 )
...
#273
2020-06-24 07:05:05 -07:00
Jeremy Lempereur
7cc668707b
remove .gitignore before docker cp ( #288 )
...
* Test setup before I try to understand how things work
* Remove .gitignore before we run docker cp
2020-06-23 11:57:24 -07:00
Josh Soref
5c850b5ba8
Fix using: node12 handling ( #243 )
...
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-05-18 14:31:09 -07:00
Michael Heap
6d6ea7ac04
Implement UnmarshalYAML for ActionRunsUsing ( #223 )
...
In #222 I added case normalisation to ReadAction() to ensure that Docker and docker are interpreted the same way.
I realised that this was being done at the wrong level and required multiple type conversions. By implementing `func (a ActionRunsUsing) UnmarshalYAML` we can lowercase the string as it's being unserialized
This has an added benefit that any time this type is hydrated the `runs.using` key will be lowercased, rather than relying on `ReadAction()`
2020-05-04 05:40:11 -07:00
Michael Heap
195a6c9ffb
Add default error case for Runs.Using ( #221 )
...
The string comparison in `step_context.go` is currently case sensitive. This commit adds an error that returns the valid options and tells the user what value they passed
2020-05-03 20:55:20 -07:00
Casey Lee
a9533b05ce
fix : #170 #171 - add RUNNER_OS and RUNNER_TEMP
2020-04-22 23:57:36 -07:00
Juan Eugenio Abadie
b95fdb896f
Use env variables in Action.Runs.Env ( #201 )
...
* Use env variables in Action.Runs.Env
* Use Action.Runs.Env in all the cases
2020-04-19 11:29:34 -07:00
Aidan Steele
b670173764
Add support for step.working-directory ( closes #149 ) ( #154 )
2020-03-14 00:00:37 -07:00
Casey Lee
16520bb277
fix #122 - support actions/checkout for repos other the one for this workflow ( #143 )
2020-03-09 17:45:42 -07:00
Casey Lee
143676fcfb
fix #141 - use host network to match GitHub Actions runners ( #142 )
2020-03-09 17:43:24 -07:00
Casey Lee
87392c2ed7
fix #134 - support 'env' context in steps
2020-03-06 13:39:01 -08:00
Casey Lee
c32a87c6dc
fix #128 : guard against empty actionName when 'uses: ./' ( #130 )
...
* fix #128 : guard against empty actionName when 'uses: ./'
* fix #129 - force image name to be lowercase
2020-03-06 10:17:20 -08:00
Casey Lee
6e1da1a70d
fix #110 - support path in action ( #111 )
2020-02-27 14:17:01 -08:00
Casey Lee
9dd2428546
fix #100 - change RUNNER_TOOL_CACHE to /opt/hostedtoolcache ( #103 )
2020-02-25 08:52:04 -08:00
Casey Lee
51b6167606
fix 99: support string and map variants of container
2020-02-24 22:35:08 -08:00
Casey Lee
1121f6e132
run with copy of workingdir
2020-02-24 17:48:21 -08:00
Casey Lee
8f5918942d
move action cache to volume
2020-02-24 16:38:49 -08:00
Casey Lee
037e08a3a7
integration test
2020-02-24 12:48:12 -08:00
Casey Lee
6c632946be
unit tests pass
2020-02-24 10:56:49 -08:00
Casey Lee
88041afb87
cache dir for remote actions
2020-02-23 22:34:48 -08:00
Casey Lee
94591c58d7
local actions done
2020-02-23 16:36:44 -08:00
Casey Lee
ac1bd0893e
shared container for job
2020-02-23 15:02:01 -08:00