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