Skip to content

Commit

Permalink
Add activation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Sep 13, 2023
1 parent 861dc61 commit 8ebca58
Showing 1 changed file with 73 additions and 8 deletions.
81 changes: 73 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ jobs:
targetPlatform:
- StandaloneWindows
- StandaloneWindows64
timeout-minutes: 90
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -503,11 +502,44 @@ jobs:
Library-buildWindows-
- name: Build Unity Project
id: build
continue-on-error: true
timeout-minutes: 45
uses: game-ci/unity-builder@main
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL_PERSONAL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD_PERSONAL }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL_PERSONAL }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildMethod: Cgs.Editor.BuildCgs.BuildOptions
- name: Sleep for Retry
if: ${{ steps.build.outcome == 'failure' }}
run: Start-Sleep -s 120
- name: Build Retry
id: build-2
continue-on-error: true
timeout-minutes: 45
if: steps.build.outcome == 'failure'
uses: game-ci/unity-builder@main
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL_PERSONAL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD_PERSONAL }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL_PERSONAL }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildMethod: Cgs.Editor.BuildCgs.BuildOptions
- name: Sleep for Retry 2
if: ${{ steps.build.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
run: Start-Sleep -s 240
- name: Build Retry 2
id: build-3
timeout-minutes: 45
if: ${{ steps.build.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
uses: game-ci/unity-builder@main
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL_PERSONAL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD_PERSONAL }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL_PERSONAL }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildMethod: Cgs.Editor.BuildCgs.BuildOptions
Expand Down Expand Up @@ -559,11 +591,44 @@ jobs:
git reset --hard
- name: Build Unity Project
id: build
uses: game-ci/unity-builder@v3
continue-on-error: true
timeout-minutes: 45
uses: game-ci/unity-builder@main
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL_PERSONAL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD_PERSONAL }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL_PERSONAL }}
with:
targetPlatform: WSAPlayer
buildMethod: Cgs.Editor.BuildCgs.BuildOptions
- name: Sleep for Retry
if: ${{ steps.build.outcome == 'failure' }}
run: Start-Sleep -s 120
- name: Build Retry
id: build-2
continue-on-error: true
timeout-minutes: 45
if: steps.build.outcome == 'failure'
uses: game-ci/unity-builder@main
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL_PERSONAL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD_PERSONAL }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL_PERSONAL }}
with:
targetPlatform: WSAPlayer
buildMethod: Cgs.Editor.BuildCgs.BuildOptions
- name: Sleep for Retry 2
if: ${{ steps.build.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
run: Start-Sleep -s 240
- name: Build Retry 2
id: build-3
timeout-minutes: 45
if: ${{ steps.build.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
uses: game-ci/unity-builder@main
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL_PERSONAL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD_PERSONAL }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL_PERSONAL }}
with:
targetPlatform: WSAPlayer
buildMethod: Cgs.Editor.BuildCgs.BuildOptions
Expand Down

0 comments on commit 8ebca58

Please sign in to comment.