Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyale3102 authored May 28, 2024
1 parent 4813337 commit eae924b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [ "dev", "feat/ui", "feat/data", "imprv/ui" ]
branches: [ "main", "dev", "feat/ui", "feat/data", "imprv/ui" ]
pull_request:
branches: [ "dev" ]

Expand All @@ -21,12 +21,12 @@ jobs:
cache: gradle

- name: Create google services file
run: cat /home/runner/work/triqui/triqui/app/google-services.json | base64
run: cat /home/runner/work/tictactoe_triqui/tictactoe_triqui/app/google-services.json | base64
- name: Set google services data
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/triqui/triqui/app/google-services.json
run: echo $DATA > /home/runner/work/tictactoe_triqui/tictactoe_triqui/app/google-services.json
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build

0 comments on commit eae924b

Please sign in to comment.