Skip to content

Commit

Permalink
it works!
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-day committed Mar 27, 2020
1 parent ad9d300 commit 6add66c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 43 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ jobs:
with:
version: 1.29.0
- name: Print version
run: dhall version
run: |
echo "dhall version: $(dhall version)"
echo "dhall-json version: $(dhall-to-json --version)"
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM alpine:3

WORKDIR /

ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["src/entrypoint.sh"]

COPY ["entrypoint.sh", "release-filter.jq", "/"]
ADD src src
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
- uses: actions/setup-dhall@v1
with:
version: 1.24.0
- run: dhall diff
- run: dhall version
- run: dhall-to-json --version
```
7 changes: 5 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Setup Dhall
description: Install a Dhall version and provide the binary to run commands
description: Install a Dhall version, including dhall-json, and provide the binary to run commands.
branding:
color: blue
icon: code

inputs:
version:
description: Version of Dhall to use
description: 'Version of Dhall to use. Default: `latest`'
required: false
default: latest

runs:
using: docker
image: Dockerfile
Expand Down
28 changes: 0 additions & 28 deletions entrypoint.sh

This file was deleted.

9 changes: 0 additions & 9 deletions release-filter.jq

This file was deleted.

0 comments on commit 6add66c

Please sign in to comment.