Files
ScreenCapture/.gitea/workflows/activation.yaml
cooney b1ec51828f
All checks were successful
Proxmox-Runner-Test / hello-job (push) Successful in 6s
Unity-ALF-The-End / activation (push) Successful in 48s
Update .gitea/workflows/activation.yaml
2026-04-01 17:35:14 +09:00

38 lines
1.1 KiB
YAML

name: Unity-ALF-The-End
on: [push]
jobs:
activation:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Force Generate ALF
run: |
# 1. 권한 완전 개방
chmod -R 777 .
# 2. 유니티 실행 (경로를 ./Unity.alf로 강제 지정!)
docker run --rm \
-v "$(pwd):/project" \
-u $(id -u):$(id -g) \
-w /project \
unityci/editor:ubuntu-2022.3.20f1-base-3 \
unity-editor \
-batchmode \
-nographics \
-createManualActivationFile ./Unity.alf \
-logfile /dev/stdout \
-quit
# 3. 모든 구석구석을 뒤져서 파일 확인
echo "### 생성된 파일 탐색 중 ###"
find . -name "*.alf"
ls -al *.alf || echo "아직도 없으면 진짜 퇴사각"
- name: Upload ALF
uses: actions/upload-artifact@v3
with:
name: Unity-Manual-ALF
path: "**/*.alf" # 어느 폴더에 생겨도 다 긁어모음 (Check)