Skip to content

.github/workflows/main.yml #15

.github/workflows/main.yml

.github/workflows/main.yml #15

Workflow file for this run

#name: Actions 😎
#
#on: [push, pull_request]
#jobs:
# buildAndTestForLinuxBasedPlatforms:
# name: Build for ${{ matrix.targetPlatform }}
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# projectPath:
# - test-project
# unityVersion:
# - 2021.3.15f
# targetPlatform:
# - StandaloneLinux64 # Build a Linux 64-bit standalone.
# - iOS # Build an iOS player.
# - Android # Build an Android player.
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# lfs: true
# - uses: actions/cache@v2
# with:
# path: ${{ matrix.projectPath }}/Library
# key:
# Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{
# hashFiles(matrix.projectPath) }}
# restore-keys: |
# Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-
# Library-${{ matrix.projectPath }}-
# Library-
# - uses: game-ci/unity-builder@v2
# env:
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
# with:
# projectPath: ${{ matrix.projectPath }}
# unityVersion: ${{ matrix.unityVersion }}
# targetPlatform: ${{ matrix.targetPlatform }}
# customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
# - uses: actions/upload-artifact@v2
# with:
# name: Build
# path: build
# buildForWindowsBasedPlatforms:
# name: Build for ${{ matrix.targetPlatform }}
# runs-on: windows-2019
# strategy:
# fail-fast: false
# matrix:
# projectPath:
# - test-project
# unityVersion:
# - 2021.3.15f1
# targetPlatform:
# - StandaloneWindows64 # Build a Windows 64-bit standalone.
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# lfs: true
# - uses: actions/cache@v2
# with:
# path: ${{ matrix.projectPath }}/Library
# key:
# Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{
# hashFiles(matrix.projectPath) }}
# restore-keys: |
# Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-
# Library-${{ matrix.projectPath }}-
# Library-
# - uses: game-ci/unity-builder@v2
# env:
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
# with:
# projectPath: ${{ matrix.projectPath }}
# unityVersion: ${{ matrix.unityVersion }}
# targetPlatform: ${{ matrix.targetPlatform }}
# customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
# - uses: actions/upload-artifact@v2
# with:
# name: Build
# path: build
# buildForMacOSBasedPlatforms:
# name: Build for ${{ matrix.targetPlatform }}
# runs-on: macos-latest
# strategy:
# fail-fast: false
# matrix:
# projectPath:
# - test-project
# unityVersion:
# - 2021.3.15f1
# targetPlatform:
# - StandaloneOSX # Build a macOS standalone.
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# lfs: true
# - uses: actions/cache@v2
# with:
# path: ${{ matrix.projectPath }}/Library
# key:
# Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{
# hashFiles(matrix.projectPath) }}
# restore-keys: |
# Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-
# Library-${{ matrix.projectPath }}-
# Library-
# - uses: game-ci/unity-builder@v2
# env:
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
# with:
# projectPath: ${{ matrix.projectPath }}
# unityVersion: ${{ matrix.unityVersion }}
# targetPlatform: ${{ matrix.targetPlatform }}
# customParameters: '-myParameter myValue -myBoolean -ThirdParameter andItsValue'
# - uses: actions/upload-artifact@v2
# with:
# name: Build
# path: build