Skip to content

Commit

Permalink
Remove the actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TeknoPT authored Oct 4, 2023
1 parent 641f244 commit 2768ab5
Showing 1 changed file with 129 additions and 129 deletions.
258 changes: 129 additions & 129 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,137 +1,137 @@
name: Actions 😎
#name: Actions 😎
#
#on: [push, pull_request]

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

jobs:
buildAndTestForLinuxBasedPlatforms:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
projectPath:
- test-project
unityVersion:
- 2021.3.15f1
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.

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

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.

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

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: 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: 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
# - uses: actions/upload-artifact@v2
# with:
# name: Build
# path: build

0 comments on commit 2768ab5

Please sign in to comment.