102 Commits

Author SHA1 Message Date
Alex Couture-Beil
f2bef5b326
Update versions in README examples (#34) v1.0.9 2024-01-23 12:28:30 -08:00
Alex Couture-Beil
1737adcace
Update ALPINE (#33) 2024-01-23 11:49:50 -08:00
Alex Couture-Beil
9aa5207d54
node20 (#32) 2024-01-23 10:44:15 -08:00
Gaëtan Lehmann
be3fe0c1f8
fix post-if usage (#28) v1.0.8 2023-09-01 10:23:39 -07:00
Alex Couture-Beil
a727219927
add CODEOWNERS 2023-09-01 10:17:38 -07:00
Alex Couture-Beil
6a5ef66120
use builtin GITHUB_TOKEN 2023-09-01 10:16:13 -07:00
Kevin Schoonover
8030b48a82
add github-token to README examples (#24)
This is likely a safe default to prevent people from running into API rate limiting.
2023-04-21 11:05:03 -07:00
Alex Couture-Beil
135d686cdc
compile code v1.0.7 2023-04-12 12:29:25 -07:00
Alex Couture-Beil
57036aa8e1
display attempted URL download as info
This makes it more clear if we get to the point where a download is
attempted or not.

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
v1.0.6
2023-04-12 12:21:24 -07:00
Alex Couture-Beil
2181cb2b4a
Update README.md 2023-03-02 10:52:26 -08:00
Gaëtan Lehmann
cce953f2ea
fix for strict version with the v prefix (#21) v1.0.5 2023-03-01 16:06:10 -08:00
Gaëtan Lehmann
afedd8a454
don't use the api for strict version (#18) v1.0.4 2023-02-22 12:31:17 -08:00
Alex Couture-Beil
c406dd71d6
filter out prerelease versions (#17)
Introduces a new prerelease input, which defaults to "false";
prereleased versions will only ever be installed when set to "true".

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
v1.0.3
2023-01-19 10:31:23 -08:00
Gaëtan Lehmann
4ebeff879c
make cache usage optional (#13) 2023-01-19 08:54:38 -08:00
Brian Bugh
6cb8b71086
Fix action path reference in README file (#7)
Try to use `earthly/setup-earthly` from an action fails because that's not the repo name. The official path from GitHub is `earthly/actions-setup`.
2023-01-19 08:53:57 -08:00
Kevin Schoonover
0f27e88723
bump all dependency versions (#11)
bump all dependencies
v1.0.2
2022-11-07 10:52:24 -08:00
rlaforge
79c1a7ec26
[ci]: Check if there was a cache hit before checking for cache directory (#9)
* [ci]: check if cache exists after checking for hit
2022-10-03 13:58:25 -06:00
Ryan LaForge
e3f7fe0dda Revert "[fix]: if the path does not exist log an error rather than crashing"
This reverts commit 8add1f625b25e646835e9e3819033ec772f1d031.
2022-09-23 14:27:07 -06:00
Ryan LaForge
8add1f625b [fix]: if the path does not exist log an error rather than crashing 2022-09-23 13:02:52 -06:00
rlaforge
c2d4f803a6
Fix arch is undefined, update tests, and allow manual invocation of action (#8)
* [ci]: Add workflow_dispatch event to allow running manually

* [fix]: update jest snapshots to latest version

* [ci]: Add GitHub token when running CI

* [fix]: update test to new format of earthly version command

* [chore]: run earthly +compile

* [fix]: try swapping back to amd64

* [ci]: make all checkout actions use the token

* [revert]: undo change to .gitignore

* [revert]: Remove snapshot tests and use semver comparison instead

* [ci]: patch version regexp

* [chore]: actually use the version string

* [ci]: add GITHUB_TOKEN env variable to prevent rate limiting

* [test]: ensure we are checking for less than as well
2022-09-20 17:00:53 -06:00
Alex Couture-Beil
7702c2adbf
Merge pull request #3 from earthly/acb/test-with-earthly
Expand local testing via earthly
2022-04-22 09:14:15 -07:00
Alex Couture-Beil
0d65467243
Expand local testing via earthly
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2022-04-21 15:07:08 -07:00
Alex Couture-Beil
6e1af8d1e2
Merge pull request #2 from kevinschoonover/main
update to use typescript + tool-cache
2022-04-21 14:02:37 -07:00
Kevin Schoonover
a32f779fcc add 3-tier caching 2022-04-20 18:42:21 -07:00
Kevin Schoonover
1d702cebee
add runner caching (#1) 2022-04-20 18:32:57 -07:00
Kevin Schoonover
e8568123f6 latest updates 2022-04-18 18:30:58 -07:00
Kevin Schoonover
ddca0c8822 earthly didnt have windows binary < 0.5.15 2022-03-27 20:34:56 -07:00
Kevin Schoonover
f5f9ecd12e remove copy to fix windows 2022-03-27 20:28:52 -07:00
Kevin Schoonover
0b4e93eb4b append .exe on windows downloads 2022-03-27 20:20:05 -07:00
Kevin Schoonover
0aed17094f attempt to fix promises error 2022-03-27 20:10:53 -07:00
Kevin Schoonover
61cad9adf4 checkout before setting up node 2022-03-27 20:05:57 -07:00
Kevin Schoonover
308be41af1 add jest config 2022-03-27 20:03:31 -07:00
Kevin Schoonover
43e815f2eb bump setup-node@v1 -> setup-node@v2 2022-03-27 20:02:28 -07:00
Kevin Schoonover
531c586886 switch back from yarn 2022-03-27 19:59:46 -07:00
Kevin Schoonover
4406f71e61 add windows backw 2022-03-27 19:56:45 -07:00
Kevin Schoonover
2add3a58cb initial commit 2022-03-27 19:48:50 -07:00
Alex Couture-Beil
c1e492b4b8
Merge pull request #1 from earthly/acb/update-readme-docker-login
include docker login in sample
2022-03-10 13:36:40 -08:00
Alex Couture-Beil
03a459ae0e
include docker login in sample
This is to remind users to perform a docker login to avoid rate
limiting.

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2022-03-10 13:36:00 -08:00
Vlad A. Ionescu
6a860684b0
Typo 2022-03-10 13:19:23 -08:00
Alex Couture-Beil
9b4c3321af
update example to use latest version
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
v1.0.1
2022-03-10 12:48:20 -08:00
Alex Couture-Beil
ee3f29b733
add branding to action.yml
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
v1.0.0
2022-03-10 12:28:46 -08:00
Alex Couture-Beil
f5d881f515
move setup-earthly code into root
This is to allow the action to be published
to the github marketplace.

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2022-03-10 12:12:08 -08:00
Alex Couture-Beil
fb998b3dbc
Merge pull request #4 from earthly/bootstrap
perform earthly bootstrap
2021-08-26 18:42:39 -07:00
Alex Couture-Beil
897bcbfdbe perform earthly bootstrap
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2021-08-26 18:07:33 -07:00
Alex Couture-Beil
24fab22651
Merge pull request #3 from earthly/dont-set-ci
Dont set EARTHLY_CI=1
2021-08-26 17:17:49 -07:00
Alex Couture-Beil
43829438ad Dont set EARTHLY_CI=1
When --ci mode is enabled, no files are output, which prevents
our own GHA scripts from running and outputting.

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2021-08-26 17:13:58 -07:00
Alex Couture-Beil
6b65fc4951
Merge pull request #2 from earthly/be-quiet
Be quiet when downloading earthly
2021-04-26 15:14:00 -07:00
Alex Couture-Beil
385be84a0a Be quiet when downloading earthly
- limit the amount of output while downloading earthly

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2021-04-26 14:57:10 -07:00
Alex Couture-Beil
50c879f9eb
Update README.md 2021-04-21 11:02:16 -07:00
Alex Couture-Beil
1b46d43161
Merge pull request #1 from earthly/initial-version
github action for running earthly
2021-04-21 10:59:21 -07:00