Justin Grote
957b8ad76d
Update Shell Tasks to match ScriptHandlerHelpers ( #575 )
...
* Update Shell Tasks to match ScriptHandlerHelpers
Code: https://github.com/actions/runner/blob/main/src/Runner.Worker/Handlers/ScriptHandlerHelpers.cs
Docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
Fixes #467
* 🩹 Remove old ps1 handler
* ♻️ gocritix fix
* 🐛 Powershell command must be a single entry to docker API
Fixes #467
* Remove Act Temp
* Remove additional Act Directories
* remove hard-coded workdir
Co-authored-by: Casey Lee <cplee@nektos.com>
2021-03-29 10:06:51 -07:00
hackercat
b438b836ea
fix: invoke login shells to source /etc/environment
( #570 )
2021-03-28 21:35:01 -07:00
Andrew Gee
60669808a4
Removed pipefail from bash shell execution to match GitHub Actions ( #529 )
...
fixes #528
Co-authored-by: Hugh Lunt <hugh.lunt@itv.com>
Co-authored-by: Hugh Lunt <hugh.lunt@itv.com>
2021-02-12 08:28:26 -08:00
KADOTA, Kyohei
e6fcfed458
Format sources with gofmt ( #472 )
...
Co-authored-by: Casey Lee <cplee@nektos.com>
2021-01-14 21:37:38 -08:00
Torbjørn Vatn
15eaa15a0e
GitHub env file support ( #426 )
...
* Upgrade to the official golangci-lint action and fix some issues it found
* Update deps
* Remove a shadow warning
* Initialize the splitPattern only once
* Initial attempt at supporting $GITHUB_ENV
Needs some polishing and tests
* Now it's actually working
* Replace golang.org/x/crypto/ssh/terminal with golang.org/x/term
* Disable the issue-228 test again
* The linter is picky
* Discovered that the workflow/envs.txt had to exist in certain cases
* Fix small linter issue
2021-01-11 22:39:43 -08:00
Steffen Seckler
e47a2395a5
Fixes include when using matrix and strategy build. ( #415 )
...
* fixes include directive of strategy build.
* Adds test for include and exclude in matrix builds.
* ubuntu-16.04 instead of 20.04
* Adds more platforms for runner_test
Prevent most "skipping unsupported platform messages".
* correct printing for unsupported platform
* fix merge
2020-12-08 10:13:07 -08: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
Amit Mahbubani
0b9268ada7
Fix comments on StepType enum consts ( #304 )
2020-07-13 09:39:23 -07:00
Aidan Steele
4a4bd36cf6
Add support for runs-on array form ( closes #146 ) ( #155 )
...
* Add support for runs-on array form (closes #146 )
* Fixed style issues
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-03-16 14:58:10 -07:00
Casey Lee
ead2ab4d69
fix #95 - change ports to array of strings
2020-02-24 22:37:20 -08:00
Casey Lee
51b6167606
fix 99: support string and map variants of container
2020-02-24 22:35:08 -08:00
Casey Lee
01876438c2
shared container for job
2020-02-23 15:01:25 -08:00
Casey Lee
418b0db047
reuse containers to fix #86
2020-02-20 22:43:20 -05:00
Casey Lee
f8fb88816a
matrix is done
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:03 -05:00
Casey Lee
73559207c7
initial support for expressons
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:59 -05:00
Casey Lee
033168228b
cleanup logging
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:40 -05:00
Casey Lee
835b36cb63
ci tests
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:36 -05:00
Casey Lee
ac8258db4b
support list/map/scalar for on and needs
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:34 -05:00
Casey Lee
0582306861
unit tests
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:31 -05:00
Casey Lee
be75ee20b1
local actions
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:29 -05:00
Casey Lee
532af98aef
successfully able to run simple workflows
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:25 -05:00
Casey Lee
8c49ba0cec
initial load of yaml working
2020-02-04 16:38:41 -08:00