Skip to content

Commit dbe7dd7

Browse files
committed
[Minor] using ls instead of find in workflow
1 parent 9101fd6 commit dbe7dd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
# If some rules are not applicable, you can disable them
113113
# using the --excluded-rules or --excluded-rule-ids option
114114
- name: Validate package
115-
run: meziantou.validate-nuget-package "$(find ${{ env.NuGetDirectory }} -type f "*.nupkg")" --excluded-rules AssembliesMustBeOptimized
115+
run: meziantou.validate-nuget-package "$(ls ${{ env.NuGetDirectory }}/*.nupkg | head -1)" --excluded-rules AssembliesMustBeOptimized
116116

117117
run_test:
118118
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)