Skip to content

Commit 70bc443

Browse files
committed
Enhance GitHub Actions workflow by adding logic to skip the 'bin' directory during artifact processing
1 parent c769c5a commit 70bc443

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,13 @@ jobs:
140140
for artifact_dir in */; do
141141
artifact_name=$(basename "$artifact_dir")
142142
echo "Processing artifact: $artifact_name"
143+
144+
# Skip the bin directory itself
145+
if [[ "$artifact_name" == "bin" ]]; then
146+
echo "Skipping bin directory"
147+
continue
148+
fi
149+
143150
if [[ "$artifact_name" == *"windows"* ]]; then
144151
# Find the .exe file and copy it
145152
exe_file=$(find "$artifact_dir" -name "*.exe" -type f | head -1)

0 commit comments

Comments
 (0)