We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb634fa commit 0a74051Copy full SHA for 0a74051
.github/workflows/scripts/check-archive-plugin.sh
@@ -40,7 +40,14 @@ unzip -l "${ZIP_FILE}" | grep --silent bootstrap
40
41
# if EXAMPLE is ResourcesPackaging, check if the ZIP file contains hello.txt
42
if [ "$EXAMPLE" == "ResourcesPackaging" ]; then
43
+ echo "Checking if resource was added to the ZIP file"
44
unzip -l "${ZIP_FILE}" | grep --silent hello.txt
45
+ SUCCESS=$?
46
+ if [ "$SUCCESS" -eq 1 ]; then
47
+ log "❌ Resource not found." && exit 1
48
+ else
49
+ log "✅ Resource found."
50
+ fi
51
fi
52
53
echo "✅ The archive plugin is OK with example ${EXAMPLE}"
0 commit comments