diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index cdcdbe2eb..8b018b6ad 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -1,20 +1,19 @@ name: Build Android on: - workflow_dispatch: - inputs: - branch: - description: 'The branch to build' - required: true - permissions: - users: - - kaloudis + push: + branches: + - "master" + pull_request: + branches: + - "*" jobs: build-android: runs-on: ubuntu-latest - container: reactnativecommunity/react-native-android@sha256:6607421944d844b82e4d05df50c11dc9fa455108222d63475cd3a0f62465fbda steps: - uses: actions/checkout@v4 - name: Envinfo run: npx envinfo + - name: Make executable + run: chmod +x build.sh - name: Build application - run: yarn install && cd android && chmod +x gradlew && ./gradlew app:assembleRelease \ No newline at end of file + run: bash ./build.sh \ No newline at end of file