Skip to content

Commit

Permalink
chore: run android builds manually (#173)
Browse files Browse the repository at this point in the history
fix: remove android build for prs
  • Loading branch information
kuruk-mm committed Jan 19, 2024
1 parent 2626dfc commit 40d3d65
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,28 @@ on:
push:
branches:
- main
pull_request:
types:
- created
workflow_dispatch:
inputs:
branch:
description: 'Branch name'
required: true
default: 'main'

jobs:
build:
runs-on: self-hosted-ubuntu
container:
image: docker://kuruk/dcl-godot-android-builder:latest
strategy:
matrix:
branch: [ ${{ github.ref }} ]

if: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.branch) }}

steps:
- uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- name: Setup Rust
run: |
echo $ANDROID_HOME
Expand Down

0 comments on commit 40d3d65

Please sign in to comment.