0

Use Earthly setup action instead of manually downloading

This commit is contained in:
Gabe Kangas 2022-06-19 10:41:15 -07:00
parent 078462b246
commit 62a580b72c
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -12,8 +12,9 @@ jobs:
Docker:
runs-on: ubuntu-latest
steps:
- name: Download latest earthly
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'"
- uses: earthly/actions-setup@v1
with:
version: 'latest' # or pin to an specific version, e.g. "v0.6.10"
- name: Earthly version
run: earthly --version