File tree Expand file tree Collapse file tree 2 files changed +12
-32
lines changed Expand file tree Collapse file tree 2 files changed +12
-32
lines changed Original file line number Diff line number Diff line change 1- name : ' deps-diff'
2- description : ' Clojure dependencies differ'
1+ name : " deps-diff"
2+ description : " Clojure dependencies differ"
3+ author : " Hyunwoo Nam"
34branding :
4- icon : ' package'
5- color : ' green'
5+ icon : " package"
6+ color : " green"
67
78inputs :
89 base :
@@ -16,7 +17,7 @@ inputs:
1617 aliases :
1718 required : false
1819 description : aliases to create basis
19- default : ' nil'
20+ default : " nil"
2021 format :
2122 required : false
2223 description : output format. edn (default) OR markdown
@@ -30,13 +31,13 @@ outputs:
3031 value : ${{ steps.diff.outputs.EXIT_CODE }}
3132
3233runs :
33- using : ' composite'
34+ using : " composite"
3435 steps :
3536 - name : Prepare java
3637 uses : actions/setup-java@v3
3738 with :
38- distribution : ' corretto'
39- java-version : ' 17 '
39+ distribution : " corretto"
40+ java-version : " 17 "
4041
4142 - name : Install clojure tools
4243 uses :
DeLaGuardo/[email protected] @@ -79,18 +80,18 @@ runs:
7980 shell : bash
8081 run : |
8182 set +e
82-
83+
8384 DEPS_DIFF=$(clojure -Sdeps '{:deps {namenu/deps-diff {:local/root "${{ github.action_path }}"}}}' \
8485 -X namenu.deps-diff/diff \
8586 :base '"__base.edn"' \
8687 :target '"__target.edn"' \
8788 :format :${{ inputs.format }})
8889 EXIT_CODE=$?
89-
90+
9091 echo "DEPS_DIFF<<EOF" >> $GITHUB_OUTPUT
9192 echo "$DEPS_DIFF" >> $GITHUB_OUTPUT
9293 echo "EOF" >> $GITHUB_OUTPUT
93-
94+
9495 echo "EXIT_CODE=$EXIT_CODE" >> $GITHUB_OUTPUT
9596 # always exit with 0
9697 # exit $EXIT_CODE
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments