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 d665440 commit e65a1e6Copy full SHA for e65a1e6
.github/workflows/check-and-upload-package.yaml
@@ -71,12 +71,13 @@ jobs:
71
# Check if the latest release contains the unitypackage
72
release_info=$(gh release view "$latest_release" --json assets)
73
file_present=$(echo "$release_info" | jq '.assets[].name | select(test("PackageExporter_.*\\.unitypackage"))')
74
+
75
if [ -n "$file_present" ]; then
76
echo "Unitypackage file found in the latest release."
77
echo "file-present=1" >> "$GITHUB_OUTPUT"
78
else
79
echo "No Unitypackage found in the latest release."
- echo "file-present=0" >> "$GITHUB_OUTPUT"
80
+ fi
81
82
upload-package:
83
needs: check-package
0 commit comments