Update build.yml
This commit is contained in:
@@ -9,17 +9,8 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build launcher for ${{ matrix.targetPlatform }}
|
||||
name: Build launcher
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
||||
- StandaloneWindows # Build a Windows standalone.
|
||||
- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
||||
- Android # Build an Android .apk standalone app.
|
||||
steps:
|
||||
# Checkout
|
||||
- name: Checkout repository
|
||||
@@ -44,16 +35,14 @@ jobs:
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# Build
|
||||
- name: Build
|
||||
- uses: game-ci/unity-builder@v2
|
||||
- name: Build project
|
||||
uses: game-ci/unity-builder@v2
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
with:
|
||||
targetPlatform: ${{ matrix.targetPlatform }}
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Build-${{ matrix.targetPlatform }}
|
||||
path: build/${{ matrix.targetPlatform }}
|
||||
targetPlatform: Android
|
||||
|
||||
# Output
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
Reference in New Issue
Block a user