remove checklicense

This commit is contained in:
Kirill Chikalin
2025-03-07 14:44:59 +03:00
parent 5c489b7466
commit 4412ed5ae9

View File

@@ -5,26 +5,26 @@ on:
jobs: jobs:
checklicense: # checklicense:
name: Check for UNITY_LICENSE in GitHub Secrets # name: Check for UNITY_LICENSE in GitHub Secrets
runs-on: ubuntu-latest # runs-on: ubuntu-latest
outputs: # outputs:
is_unity_license_set: ${{ steps.checklicense_job.outputs.is_unity_license_set }} # is_unity_license_set: ${{ steps.checklicense_job.outputs.is_unity_license_set }}
steps: # steps:
- name: Check whether unity activation requests should be done # - name: Check whether unity activation requests should be done
id: checklicense_job # id: checklicense_job
env: # env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} # UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} # UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} # UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
run: | # run: |
echo "Skip activation job: ${{ env.UNITY_LICENSE != '' }}" # echo "Skip activation job: ${{ env.UNITY_LICENSE != '' }}"
export is_unity_license_set="${{ env.UNITY_LICENSE != '' }}" # export is_unity_license_set="${{ env.UNITY_LICENSE != '' }}"
echo "is_unity_license_set=$is_unity_license_set" >> $GITHUB_OUTPUT # echo "is_unity_license_set=$is_unity_license_set" >> $GITHUB_OUTPUT
build: build:
name: Build for ${{ matrix.targetPlatform }} name: Build for ${{ matrix.targetPlatform }}
needs: checklicense # needs: checklicense
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
container: container:
@@ -38,6 +38,9 @@ jobs:
- Android - Android
# - WebGL # - WebGL
steps: 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 - uses: actions/checkout@v4.2.2
with: with:
lfs: true lfs: true