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
David Beck
569ebaccae
[Add] More logging for default push action ( #383 )
2020-10-08 22:28:01 -07:00
Lyle Underwood
3d9b82515c
Remove confusing message about symlinks ( #381 )
2020-10-06 10:02:37 -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
Tom Payne
32c41d22d6
Fix test target ( #375 )
...
* Fix test target
* Run Go tests in test target
2020-09-28 12:03:35 -07:00
Leonardo Dino
44151f208e
Add CI=true environment variable ( #372 )
...
fixes #333
see https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
2020-09-28 08:22:42 -07:00
Tom Payne
6fdf1b04ef
Fix Homebrew install instructions ( #374 )
2020-09-28 08:21:44 -07:00
Owen
1070c58538
feat: support custom GITHUB_RUN_ID, GITHUB_RUN_NUMBER ( #369 )
...
* feat: add fromJSON support
* feat: support custom runId and runNumber
* chore: manual update
* chore: lint
2020-09-22 14:13:29 -07:00
Bar Weiss
04456ad234
Fix copyDir to normalize file paths in tar archive ( #360 )
2020-09-15 07:00:15 -07:00
Tom Lazar
7d443c6520
Set the default branch inside the event data ( #354 )
...
* set ${{github.event.repository.default_branch}}
* change `ok == false` to `!ok`
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-09-02 07:56:44 -07:00
Owen
d521fa5bba
feat: add fromJSON support ( #352 )
2020-09-01 13:55:29 -07:00
Cameron Booth
b6f1df4d2f
Special case handling of empty workflow files for user experience ( #349 )
...
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-08-31 14:50:01 -07:00
Yoan Blanc
3eef111e46
chore: upgrade docker v19.03.12 ( #348 )
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-08-29 22:55:22 -07:00
Casey Lee
85f89e16eb
fix docker build issue on windows
2020-08-28 12:31:16 -07:00
Casey Lee
0d5a228ab9
update actions/stale to remove stale when issues are updated
2020-08-28 11:56:20 -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
Yoan Blanc
b3b8961122
feat: docker 19.03.12 ( #347 )
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-08-28 11:45:03 -07:00
watiko
26e4270e41
fix file permission for non root user docker image ( #334 )
2020-08-08 13:31:26 -07:00
Casey Lee
17c7ecead2
Merge pull request #327 from whywaita/feat/add-privileged-mode
...
add privileged mode
2020-08-02 21:53:59 -07:00
Casey Lee
0ccc867f30
Merge branch 'master' into feat/add-privileged-mode
2020-08-01 19:05:56 -07:00
Tachibana waita
9a661538e6
actions/hello-world-javascript-action@master moved to main, use stable tag ( #326 )
2020-08-01 19:05:25 -07:00
whywaita
24bdb024bf
add flag of privileged mode
2020-08-02 05:21:49 +09:00
Casey Lee
bbc8123f27
Merge pull request #318 from nnadeau/master
...
Added PHONY targets to Makefile
2020-07-26 16:36:41 -07:00
Casey Lee
f3379181ff
Merge branch 'master' into master
2020-07-26 16:36:30 -07:00
Casey Lee
a0c3ddb5b2
Merge pull request #320 from nnadeau/patch-1
...
Added docker pull instructions for building from source
2020-07-26 16:35:43 -07:00
Nicholas Nadeau, Ph.D., P.Eng
3ec15546bf
Added docker pull instructions
2020-07-26 11:25:14 -04:00
Nicholas Nadeau
35d79c7215
Added PHONY targets
2020-07-26 09:01:01 -04:00
Casey Lee
0a17a7ef84
Merge pull request #314 from Strajk/secret-file-docs
...
Document `secret-file` in README and add example
2020-07-21 06:51:33 -07:00
Casey Lee
52e4002c73
Merge branch 'master' into secret-file-docs
2020-07-21 06:51:21 -07:00
Casey Lee
8245d23e1e
Merge pull request #313 from denysvitali/feature/fix-defaults
...
fix: add default values in vmInput
2020-07-21 06:50:14 -07:00
Strajk
4864ece107
Document secret-file
in README and add example
2020-07-21 10:10:23 +02:00
Denys Vitali
ae39a4b1d3
fix(test): adapt to sjw change
2020-07-20 21:43:36 +02:00
Denys Vitali
cc369e2f73
fix: add default values in vmInput
2020-07-20 21:17:49 +02:00
Stephen Solka
85a47838fd
use t.Cleanup and prefer assert.NoError over .Nil ( #309 )
...
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-07-20 07:35:43 -07:00
Dario Vladović
f00aa08417
Support PREFIX environment variable ( #308 )
2020-07-20 07:33:29 -07:00
Amit Mahbubani
0b9268ada7
Fix comments on StepType enum consts ( #304 )
2020-07-13 09:39:23 -07:00
Ayaz BADOURALY
7dcd0bc1bb
Rewrite contexts before evaluating them ( #287 )
...
* Rewrite contexts before evaluating them
* Precompile context and expression patterns
* Test trim before rewrite
The current contextPattern is quite constraining and would fail the
rewrite of a context with trailing spaces. Triming happens during the
execution of Interpolate, and these tests aim to detect future breaking
changes on this behavior.
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-06-24 07:08:45 -07: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
Stan Wohlwend
d4e41a90a2
Fix container volumes being reused sometimes ( #283 )
2020-06-18 08:21:55 -07:00
Raj Nigam
f5e1bd45b3
Update unit test command to make test
( #274 )
2020-06-12 15:31:37 -07:00
Michael Heap
dfd1fee7fe
Pull latest changes from ref using cached repo ( #267 )
...
* Pull latest changes from ref using cached repo
Act switched from checking out a branch to checking out
a hash in order to resolve #24 - see
bc5c23e8e4
This had a side effect of preventing `w.Pull()` from updating
to the latest commit if a ref was a branch/tag and the repo
already exists on disk.
This commit checks if input.Ref is equivalent to the resolved
hash, and runs `r.Fetch()` and checks out the branch for input.Ref
if it is different. `w.Pull()` can then pull the latest changes
before we checkout `*hash` again like normal
* Extract CloneIfRequired to reduce cyclomatic complexity
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-06-09 07:43:26 -07:00
Casey Lee
39667011b8
Merge pull request #259 from arbourd/set-single-workflow
...
Change -W command to accept a single file
2020-05-27 07:35:59 -07:00
Dylan Arbour
69b8802ab3
Change -W command to accept a single file
...
Currently setting workflows with the -W (--workflows) flag only accepts
a folder. It is not possible to run a single workflow.yml file.
This commit allows either a single file or a directory to be passed into
the workflows flag.
2020-05-26 23:29:50 -04:00
Gabriel Joshua Paet
a3a85938ad
Added documentation for module not found issue. ( #256 )
...
* Added documentation for module not found issue.
* Linked the open issue #228 .
2020-05-26 09:12:17 -07:00
Josh Soref
c46ba93adb
Update brand name for macOS ( #252 )
2020-05-20 08:37:29 -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
Josh Soref
2bb9906425
Markup for runners ( #241 )
2020-05-18 09:54:59 -07:00
Josh Soref
2097a3c017
Spelling ( #240 )
...
* spelling: cartesian
* spelling: deferring
* spelling: marshal
2020-05-18 09:53:42 -07:00
Josh Soref
2f3187ebcd
Grammar ( #238 )
...
* spelling: GitHub
* Spelling and grammar
2020-05-15 12:30:49 -07:00