diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 68a44da..b582ae7 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,26 +5,26 @@ on: jobs: -# checklicense: -# name: Check for UNITY_LICENSE in GitHub Secrets -# runs-on: ubuntu-latest -# outputs: -# is_unity_license_set: ${{ steps.checklicense_job.outputs.is_unity_license_set }} -# steps: -# - name: Check whether unity activation requests should be done -# id: checklicense_job -# env: -# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} -# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} -# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} -# run: | -# echo "Skip activation job: ${{ env.UNITY_LICENSE != '' }}" -# export is_unity_license_set="${{ env.UNITY_LICENSE != '' }}" -# echo "is_unity_license_set=$is_unity_license_set" >> $GITHUB_OUTPUT + checklicense: + name: Check for UNITY_LICENSE in GitHub Secrets + runs-on: ubuntu-latest + outputs: + is_unity_license_set: ${{ steps.checklicense_job.outputs.is_unity_license_set }} + steps: + - name: Check whether unity activation requests should be done + id: checklicense_job + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + run: | + echo "Skip activation job: ${{ env.UNITY_LICENSE != '' }}" + export is_unity_license_set="${{ env.UNITY_LICENSE != '' }}" + echo "is_unity_license_set=$is_unity_license_set" >> $GITHUB_OUTPUT build: name: Build for ${{ matrix.targetPlatform }} -# needs: checklicense + needs: checklicense runs-on: - ubuntu-latest container: