Skip to content

Commit

Permalink
fixed release action
Browse files Browse the repository at this point in the history
TODO: the check length statement doesn't work, needs fix
  • Loading branch information
Fallen-Breath committed Dec 3, 2023
1 parent 0473ae0 commit fb0b8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
id: file_info
run: |
shopt -s extglob
FILE_PATHS=$(ls ${{ format('build-artifacts/{0}/build/libs/!(*-@(dev|sources)).jar', matrix.subproject) }})
FILE_PATHS=$(ls ${{ format('build-artifacts/{0}/build/libs/!(*-@(dev|sources|shadow)).jar', matrix.subproject) }})
if (( ${#FILE_PATHS[@]} != 1 )); then
echo "Error: Found ${#FILE_PATHS[@]} files, expected exactly 1"
exit 1
Expand Down

0 comments on commit fb0b8dc

Please sign in to comment.