From 62a580b72ca87455bd50101d51ae161afb27bd46 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 19 Jun 2022 10:41:15 -0700 Subject: [PATCH] Use Earthly setup action instead of manually downloading --- .github/workflows/docker-nightly-earthly.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-nightly-earthly.yaml b/.github/workflows/docker-nightly-earthly.yaml index 816bed44e..46a647b6d 100644 --- a/.github/workflows/docker-nightly-earthly.yaml +++ b/.github/workflows/docker-nightly-earthly.yaml @@ -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