+1
-9
.github/workflows/cli.yml
+1
-9
.github/workflows/cli.yml
···
192
192
sleep 30
193
193
194
194
# Test the install script
195
-
curl -L https://github.com/grainsocial/grain/releases/download/${{ steps.tag.outputs.tag }}/grain-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m) -o grain-test || exit 0
196
-
197
-
if [ -f grain-test ]; then
198
-
chmod +x grain-test
199
-
./grain-test --help
200
-
echo "✅ Binary works correctly"
201
-
else
202
-
echo "⚠️ Binary not available yet for this platform"
203
-
fi
195
+
curl -L https://github.com/grainsocial/grain/releases/download/${{ steps.tag.outputs.tag }}/install.sh | bash