Merge branch 'main' of https://github.com/0x7c13/Pal3.Unity #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Builds - PAL3 - Mono - Android | |
on: [push, pull_request] | |
jobs: | |
build_pal3_mono_android: | |
name: Build PAL3 for ${{ matrix.targetPlatform }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
targetPlatform: | |
- Android # Build an Android .apk standalone app. | |
steps: | |
- uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: false | |
android: true | |
dotnet: true | |
haskell: true | |
large-packages: true | |
docker-images: true | |
swap-storage: true | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- uses: actions/[email protected] | |
with: | |
path: Library | |
key: Library-${{ matrix.targetPlatform }} | |
restore-keys: Library- | |
- uses: game-ci/unity-builder@v4 | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | |
with: | |
targetPlatform: ${{ matrix.targetPlatform }} | |
buildName: PAL3 | |
versioning: Semantic | |
- uses: actions/[email protected] | |
with: | |
name: PAL3-Mono-${{ matrix.targetPlatform }} | |
path: build/${{ matrix.targetPlatform }} | |
retention-days: 14 |