diff --git a/.gitea/workflows/activation.yaml b/.gitea/workflows/activation.yaml index 5c240a3..dd86d22 100644 --- a/.gitea/workflows/activation.yaml +++ b/.gitea/workflows/activation.yaml @@ -1,25 +1,29 @@ -name: Unity-Manual-ALF +name: Unity-ALF-Ultimate on: [push] jobs: activation: runs-on: ubuntu-latest - container: - image: unityci/editor:ubuntu-2022.3.20f1-base-3 # 이미 받아놓으신 이미지 사용 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v3 - - name: Manual Activation File Generation + - name: Force Generate ALF run: | - unity-editor \ - -batchmode \ - -nographics \ - -createManualActivationFile \ - -quit + # 이미 받아놓으신 이미지를 사용하여 컨테이너 안에서 유니티 명령어를 직접 실행합니다. + docker run --rm \ + -v "$(pwd):/project" \ + -w /project \ + unityci/editor:ubuntu-2022.3.20f1-base-3 \ + unity-editor \ + -batchmode \ + -nographics \ + -createManualActivationFile \ + -logfile /dev/stdout \ + -quit - - name: Upload artifact - uses: actions/upload-artifact@v4 + - name: Upload ALF + uses: actions/upload-artifact@v3 with: - name: Unity-ALF-File + name: Unity-Manual-ALF path: ./*.alf \ No newline at end of file