Skip to content

A Build

A Build #5

Workflow file for this run

name: A Build
on:
workflow_dispatch:
jobs:
build:
name: Citadel Build Android Experimental
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run custom image build
run: |
echo "${{ secrets.DOCKER_TOKEN }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
chmod +x ./build.sh
./build.sh
- name: Build game
uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: Android
versioning: Semantic
customImage: josiahjack/citadel-ci:ubuntu-2019.4.35f1-android-2.0.0
allowDirtyBuild: true
- name: Upload built files
uses: actions/upload-artifact@v3
with:
name: Citadel_DevBuild_Android
path: build/Android
if-no-files-found: error