Use Earthly setup action instead of manually downloading
This commit is contained in:
parent
078462b246
commit
62a580b72c
@ -12,8 +12,9 @@ jobs:
|
|||||||
Docker:
|
Docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download latest earthly
|
- uses: earthly/actions-setup@v1
|
||||||
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.16/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
|
with:
|
||||||
|
version: 'latest' # or pin to an specific version, e.g. "v0.6.10"
|
||||||
|
|
||||||
- name: Earthly version
|
- name: Earthly version
|
||||||
run: earthly --version
|
run: earthly --version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user