Skip to content

Commit 4e5edda

Browse files
committed
fix find -perm syntax for linux in release workflow
1 parent 2b8f7f8 commit 4e5edda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/homebrew-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: |
7171
BIN=$(cabal -v0 list-bin elm-format)
7272
if [ ! -f "$BIN" ]; then
73-
BIN=$(find dist-newstyle -name elm-format -type f -perm +111 | head -1)
73+
BIN=$(find dist-newstyle -name elm-format -type f -executable | head -1)
7474
fi
7575
mkdir staging
7676
cp "$BIN" staging/elm-format

0 commit comments

Comments
 (0)