We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80020d7 commit 34513b7Copy full SHA for 34513b7
1 file changed
.github/workflows/main.yml
@@ -56,10 +56,26 @@ jobs:
56
run: |
57
bash builder/build.sh
58
59
- - name: Verify binary architecture
+ - name: Log package architecture
60
61
- file "$BUILD_PATH/vendor/bin/ruby"
+ validate() {
62
+ local dir="$1"
63
+ if [[ ! -d "$dir" ]]; then
64
+ echo "Error: '$dir' is not a directory or does not exist." >&2
65
+ return 1
66
+ fi
67
+
68
+ find "$dir" -type f | while read -r filepath; do
69
+ filetype=$(file -b "$filepath")
70
+ echo "$filepath [$filetype]"
71
+ done
72
+ }
73
74
uname -m
75
+ uname -s
76
77
+ validate "$BUILD_PATH/package/vendor/bin"
78
+ validate .
79
80
# Upload the final tar.gz artifact for each OS/arch
81
- name: Upload build artifact
0 commit comments