Skip to content

Commit

Permalink
seperate pre checks
Browse files Browse the repository at this point in the history
  • Loading branch information
adityastic committed May 14, 2024
1 parent d4e775f commit 308f5fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/branch-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,17 @@ jobs:
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Pre Checks
if: ${{ github.repository == 'fossasia/badgemagic-android' }}
run: |
bash scripts/check-screenshots.sh
- name: Prepare Build Keys
if: ${{ github.event_name != 'pull_request' && github.repository == 'fossasia/badgemagic-android' }}
env:
ENCRYPTED_F10B5E0E5262_IV: ${{ secrets.ENCRYPTED_F10B5E0E5262_IV }}
ENCRYPTED_F10B5E0E5262_KEY: ${{ secrets.ENCRYPTED_F10B5E0E5262_KEY }}
run: |
bash scripts/check-screenshots.sh
bash scripts/prep-key.sh
- name: Grant permission for gradlew
Expand Down

0 comments on commit 308f5fb

Please sign in to comment.