Skip to content

Commit

Permalink
feat(summaries): add job summary (#2)
Browse files Browse the repository at this point in the history
fixes #1
  • Loading branch information
robertohuertasm authored May 15, 2022
1 parent 737cc7e commit 5c88e95
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ jobs:
with:
dependency-file-path: 'test/package-lock.json'
licrc-path: 'test/.licrc'
# - name: Adding markdown
# run: echo '### Hello world! :rocket:' >> $GITHUB_STEP_SUMMARY
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Container image that runs your code
FROM ubuntu:20.04

ENV cli_version="v0.11.0"
ENV cli_version="v0.12.0"

RUN set -eux; \
apt update; \
apt -y install curl; \
curl --silent -L https://github.com/licensebat/licensebat/releases/download/v0.11.0/licensebat_linux.zip | gzip -d >> licensebat;
curl --silent -L https://github.com/licensebat/licensebat/releases/download/${cli_version}/licensebat_linux.zip | gzip -d >> licensebat;

RUN chmod +x licensebat; \
mv licensebat /usr/bin/licensebat;
Expand Down
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ runs:
- ${{ inputs.dependency-file-path }}
- -l
- ${{ inputs.licrc-path }}
- -f md
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh -l
set -e

licensebat $*
licensebat $* >> $GITHUB_STEP_SUMMARY
exit $?

0 comments on commit 5c88e95

Please sign in to comment.