Cat™
e3c2db48e9
Use static initial PATH ( #462 )
2021-01-11 22:27:16 -08:00
Wink Saville
5635645200
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
4119f3b80d
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
222377d1d5
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
76c46ef07a
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
95240475c3
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
7f17e0a9f4
fix file permission for non root user docker image ( #334 )
2020-08-08 13:31:26 -07:00
whywaita
4d237924ac
add flag of privileged mode
2020-08-02 05:21:49 +09:00
Josh Soref
0e18c4dd43
Properly pass format argument to avoid MISSING ( #290 )
...
#273
2020-06-24 07:05:05 -07:00
Jeremy Lempereur
63b3391483
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
2df2727f1a
Fix using: node12 handling ( #243 )
...
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-05-18 14:31:09 -07:00
Michael Heap
18bc8ff929
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
c9b0a309da
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
862d198040
fix : #170 #171 - add RUNNER_OS and RUNNER_TEMP
2020-04-22 23:57:36 -07:00
Juan Eugenio Abadie
7ee0450e69
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
1a3ec6c470
Add support for step.working-directory ( closes #149 ) ( #154 )
2020-03-14 00:00:37 -07:00
Casey Lee
e60c46b79f
fix #122 - support actions/checkout for repos other the one for this workflow ( #143 )
2020-03-09 17:45:42 -07:00
Casey Lee
caba9f7645
fix #141 - use host network to match GitHub Actions runners ( #142 )
2020-03-09 17:43:24 -07:00
Casey Lee
8f6d32db71
fix #134 - support 'env' context in steps
2020-03-06 13:39:01 -08:00
Casey Lee
ec337ae5cf
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
afb034b246
fix #110 - support path in action ( #111 )
2020-02-27 14:17:01 -08:00
Casey Lee
b05d2fc784
fix #100 - change RUNNER_TOOL_CACHE to /opt/hostedtoolcache ( #103 )
2020-02-25 08:52:04 -08:00
Casey Lee
d2ef0e27c7
fix 99: support string and map variants of container
2020-02-24 22:35:08 -08:00
Casey Lee
199c125522
run with copy of workingdir
2020-02-24 17:48:21 -08:00
Casey Lee
6df3e39a46
move action cache to volume
2020-02-24 16:38:49 -08:00
Casey Lee
ff9f2a8c94
integration test
2020-02-24 12:48:12 -08:00
Casey Lee
72682352a6
unit tests pass
2020-02-24 10:56:49 -08:00
Casey Lee
0f6340f811
cache dir for remote actions
2020-02-23 22:34:48 -08:00
Casey Lee
e5680477f9
local actions done
2020-02-23 16:36:44 -08:00
Casey Lee
0a945dc2be
shared container for job
2020-02-23 15:02:01 -08:00