Skip to content

Commit

Permalink
Merge pull request #326 from aeecleclair/build-pr
Browse files Browse the repository at this point in the history
Build PR when a build label is added
  • Loading branch information
julien4215 authored Mar 16, 2024
2 parents 9007a5b + f671a56 commit 967fc11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
required: false
type: string
pull_request:
types: ["labeled"]

jobs:
build:
name: Build ${{ matrix.name }}
runs-on: macos-latest
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'build')
strategy:
matrix:
include:
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:

- name: Add Firebase configuration for Dev
run: |
echo $GOOGLE_SERVICES_DEV_JSON_BASE64 | base64 -D -o android/app/src/dev/google-services.json
echo $GOOGLE_SERVICES_DEV_JSON_BASE64 | base64 -d > android/app/src/dev/google-services.json
env:
GOOGLE_SERVICES_DEV_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_DEV_JSON_BASE64 }}

Expand Down

0 comments on commit 967fc11

Please sign in to comment.