Skip to content

Commit 39afe16

Browse files
committed
feat: add license type differentiation in workflow
1 parent 7220e9c commit 39afe16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/reusable-build-package.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,17 @@ jobs:
114114
run: |
115115
if [ -n "${{ secrets.UNITY_LICENSE }}" ]; then
116116
license_name="UNITY_LICENSE"
117+
license_type="Personal"
117118
elif [ -n "${{ secrets.UNITY_SERIAL }}" ]; then
118119
license_name="UNITY_SERIAL"
120+
license_type="Pro"
119121
else
120122
echo "::error::No secrets.UNITY_LICENSE or secrets.UNITY_SERIAL found."
121123
exit 1
122124
fi
123125
124126
echo "name=$license_name" >> "$GITHUB_OUTPUT"
125-
echo "::notice title=Unity License::$license_name"
127+
echo "::notice title=Unity License::$license_type"
126128
127129
- uses: actions/checkout@v4
128130
with:

0 commit comments

Comments
 (0)