remove checklicense
This commit is contained in:
@@ -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:
|
||||
@@ -38,6 +38,9 @@ jobs:
|
||||
- Android
|
||||
# - WebGL
|
||||
steps:
|
||||
- run: |
|
||||
export is_unity_license_set=true
|
||||
echo "is_unity_license_set=$is_unity_license_set" >> $GITHUB_OUTPUT
|
||||
- uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
lfs: true
|
||||
|
||||
Reference in New Issue
Block a user