Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Improve internal_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Jul 6, 2024
1 parent b345dc2 commit 516e101
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/internal_release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Internal Release

on:
pull_request:
types: [closed]
push:
branches:
- main

jobs:
internal_release:
if: github.event.pull_request.merged == true && github.ref == 'refs/heads/main' && contains(github.event.pull_request.labels.*.name, 'auto-update')
if: |
contains(github.event.head_commit.message, 'Automatic release')
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -66,15 +68,6 @@ jobs:
PLAY_CONFIG_JSON: ${{ secrets.GOOGLE_PLAY_CONSOLE_JSON }}
#--------------------------------------------------------------------------------

- name: Verify that the code is release-able ("lintRelease")
run: ./gradlew lintRelease

- name: Upload Lint Release report to GitHub
uses: actions/upload-artifact@v4
with:
name: lint-release-report.html
path: app/build/reports/lint-results-release.html

# Fastlane: Build production .aab and release it to Internal Testing
- name: Build production App Bundle
run: bundle exec fastlane production_build
Expand Down

0 comments on commit 516e101

Please sign in to comment.