Update README.md

This commit is contained in:
Alex Couture-Beil 2021-04-21 11:02:16 -07:00 committed by GitHub
parent 1b46d43161
commit 50c879f9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,7 @@
# actions
GitHub Actions for earthly
Here's an example of how to use earthly in github actions:
To use earthly with hithub actions, create a file under `.github/workflows/ci.yml` with the contents:
```yml
name: GitHub Actions CI
@ -18,7 +17,7 @@ jobs:
name: example earthly test
runs-on: ubuntu-latest
steps:
- uses: earthly/actions/setup-earthly@main
- uses: earthly/actions/setup-earthly@v1
with:
version: v0.5.10
- uses: actions/checkout@v2
@ -27,3 +26,4 @@ jobs:
- name: run the earthly hello world
run: earthly github.com/earthly/hello-world:main+hello
```