svf-lib 1.0.2654 → 1.0.2655
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,6 +34,33 @@ jobs:
|
|
|
34
34
|
cat package.json
|
|
35
35
|
npm publish --access public
|
|
36
36
|
|
|
37
|
+
- name: Verify published package
|
|
38
|
+
run: |
|
|
39
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
40
|
+
echo "Checking svf-lib@$VERSION on npm..."
|
|
41
|
+
|
|
42
|
+
for i in {1..10}; do
|
|
43
|
+
if npm view svf-lib@$VERSION version; then
|
|
44
|
+
break
|
|
45
|
+
fi
|
|
46
|
+
echo "Package not visible yet, retrying in 10s..."
|
|
47
|
+
sleep 10
|
|
48
|
+
done
|
|
49
|
+
|
|
50
|
+
npm pack svf-lib@$VERSION
|
|
51
|
+
|
|
52
|
+
echo "Listing published tarball contents..."
|
|
53
|
+
tar -tzf svf-lib-$VERSION.tgz | tee published-files.txt
|
|
54
|
+
|
|
55
|
+
echo "Checking Linux x64 binary..."
|
|
56
|
+
grep -E 'SVF-linux-x86_64|linux.*x64|linux.*x86_64' published-files.txt
|
|
57
|
+
|
|
58
|
+
echo "Checking Linux ARM binary..."
|
|
59
|
+
grep -E 'SVF-linux-arm64|SVF-linux-aarch64|linux.*arm64|linux.*aarch64' published-files.txt
|
|
60
|
+
|
|
61
|
+
echo "Checking macOS binary..."
|
|
62
|
+
grep -E 'SVF-darwin|SVF-macos|SVF-osx|darwin|macos' published-files.txt
|
|
63
|
+
|
|
37
64
|
trigger-svf-python:
|
|
38
65
|
if: github.event_name == 'push' # Only run on push events
|
|
39
66
|
needs: build
|