Skip to content

Commit b26049d

Browse files
committed
chore: Add limit of push for artifact to main only
1 parent 0c5dfea commit b26049d

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Check, Test and Build
22

33
on:
44
push:
5-
tags:
6-
- "v*-rc.*"
75
branches:
86
- main
97
pull_request:
@@ -92,7 +90,7 @@ jobs:
9290
name: Upload artifact to Firebase App Distribution
9391
runs-on: ubuntu-latest
9492
needs: build-android
95-
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
93+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
9694
steps:
9795
- name: Checkout repository
9896
uses: actions/checkout@v4
@@ -177,32 +175,3 @@ jobs:
177175
# env:
178176
# APP_PACKAGE_NAME: ${{ vars.APP_PACKAGE_NAME }}
179177
# FIREBASE_APP_ID: ${{ vars.FIREBASE_APP_ID }}
180-
181-
# name: Deploy existing APK to Firebase
182-
# runs-on: ubuntu-latest
183-
# needs: build-android
184-
# steps:
185-
# - name: Checkout
186-
# uses: actions/checkout@v4
187-
188-
# - name: Set up Ruby
189-
# uses: ruby/setup-ruby@v1
190-
# with:
191-
# ruby-version: ${{ env.RUBY_VERSION }}
192-
# bundler-cache: true
193-
# working-directory: "android"
194-
195-
# - name: Set up Flutter
196-
# uses: subosito/flutter-action@v2
197-
# with:
198-
# flutter-version: ${{ env.FLUTTER_VERSION }}
199-
# channel: ${{ env.FLUTTER_CHANNEL }}
200-
# cache: true
201-
202-
# - name: Deploy existing APK to Firebase
203-
# uses: maierj/fastlane-action@v3.1.0
204-
# with:
205-
# lane: "distribute_existing_apk"
206-
# env:
207-
# APP_PACKAGE_NAME: ${{ vars.APP_PACKAGE_NAME }}
208-
# FIREBASE_APP_ID: ${{ vars.FIREBASE_APP_ID }}

0 commit comments

Comments
 (0)