Skip to content

update cicd

update cicd #6

Workflow file for this run

name: Build project
on: [push, pull_request]
jobs:
buildForAllSupportedPlatforms:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
- StandaloneWindows64 # Build a Windows 64-bit standalone.
- StandaloneLinux64 # Build a Linux 64-bit standalone.
- Android # Build an Android .apk standalone app.
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- if: matrix.targetPlatform == 'Android'
uses: jlumbroso/[email protected]
- uses: game-ci/unity-builder@v2
with:
projectPath: ./YATSS-Lost-Miner/
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:

Check failure on line 34 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Build project

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 34, Col: 9): 'with' is already defined
targetPlatform: ${{ matrix.targetPlatform }}
- uses: actions/upload-artifact@v3
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}