Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Feb 7, 2025
1 parent 96b05d4 commit 72f1c5b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Update dependencies
run: |
echo "${{ steps.dep.outputs.matches }}"
sh scripts/dep.sh "${{ steps.dep.outputs.matches }}"
# - name: Update example
# run: |
Expand Down
13 changes: 13 additions & 0 deletions scripts/dep.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
set -e
set -x
MY_PATH=$(realpath $(dirname "$0"))
PROJECT_ROOT=$(realpath ${MY_PATH}/..)

# Check if INPUT is provided
if [ "$#" -lt 1 ]; then
exit 1
fi
INPUT=$1

echo $INPUT

0 comments on commit 72f1c5b

Please sign in to comment.