Skip to content

Commit

Permalink
Delete deps-diff directory
Browse files Browse the repository at this point in the history
  • Loading branch information
namenu committed Oct 11, 2023
1 parent 228f7d7 commit d91bd64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 32 deletions.
23 changes: 12 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: 'deps-diff'
description: 'Clojure dependencies differ'
name: "deps-diff"
description: "Clojure dependencies differ"
author: "Hyunwoo Nam"
branding:
icon: 'package'
color: 'green'
icon: "package"
color: "green"

inputs:
base:
Expand All @@ -16,7 +17,7 @@ inputs:
aliases:
required: false
description: aliases to create basis
default: 'nil'
default: "nil"
format:
required: false
description: output format. edn (default) OR markdown
Expand All @@ -30,13 +31,13 @@ outputs:
value: ${{ steps.diff.outputs.EXIT_CODE }}

runs:
using: 'composite'
using: "composite"
steps:
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
distribution: "corretto"
java-version: "17"

- name: Install clojure tools
uses: DeLaGuardo/[email protected]
Expand Down Expand Up @@ -79,18 +80,18 @@ runs:
shell: bash
run: |
set +e
DEPS_DIFF=$(clojure -Sdeps '{:deps {namenu/deps-diff {:local/root "${{ github.action_path }}"}}}' \
-X namenu.deps-diff/diff \
:base '"__base.edn"' \
:target '"__target.edn"' \
:format :${{ inputs.format }})
EXIT_CODE=$?
echo "DEPS_DIFF<<EOF" >> $GITHUB_OUTPUT
echo "$DEPS_DIFF" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
echo "EXIT_CODE=$EXIT_CODE" >> $GITHUB_OUTPUT
# always exit with 0
# exit $EXIT_CODE
21 changes: 0 additions & 21 deletions deps-diff/LICENSE

This file was deleted.

0 comments on commit d91bd64

Please sign in to comment.