File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 shell : bash
7575 run : |
7676 unity-cli activate-license --license personal --email "${{ secrets.UNITY_USERNAME }}" --password "${{ secrets.UNITY_PASSWORD }}"
77+ - name : Print log paths
78+ shell : bash
79+ run : |
80+ HUB_LOG_PATH=$(unity-cli hub-logs)
81+ LICENSING_CLIENT_LOG_PATH=$(unity-cli licensing-client-logs)
82+ LICENSING_AUDIT_LOG_PATH=$(unity-cli licensing-audit-logs)
83+
84+ echo "Hub Log Path: ${HUB_LOG_PATH}"
85+ echo "Licensing Client Log Path: ${LICENSING_CLIENT_LOG_PATH}"
86+ echo "Licensing Audit Log Path: ${LICENSING_AUDIT_LOG_PATH}"
87+
88+ # verify that the log files exist
89+ if [ ! -f "${LICENSING_CLIENT_LOG_PATH}" ]; then
90+ echo "Error: Licensing Client log file does not exist at ${LICENSING_CLIENT_LOG_PATH}"
91+ exit 1
92+ fi
93+ if [ ! -f "${LICENSING_AUDIT_LOG_PATH}" ]; then
94+ echo "Error: Licensing Audit log file does not exist at ${LICENSING_AUDIT_LOG_PATH}"
95+ exit 1
96+ fi
97+ if [ ! -f "${HUB_LOG_PATH}" ]; then
98+ echo "Error: Hub log file does not exist at ${HUB_LOG_PATH}"
99+ exit 1
100+ fi
77101 - name : Create Unity Project
78102 if : ${{ matrix.unity-version != 'none' }}
79103 shell : bash
You can’t perform that action at this time.
0 commit comments