Skip to content

Commit

Permalink
Remove unnecessary validation job
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMarquis committed Aug 11, 2023
1 parent 3ef62e3 commit 4fe7ec4
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/firebase-app-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,7 @@ env:

jobs:

validation:
runs-on: ubuntu-latest
if: github.repository == 'adevinta/spark-android'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: ./.github/actions/setup-gradle-properties
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0
- uses: actionsdesk/lfs-warning@e5f9a4c21f4bee104db7c0f23954dde59e5df909 # v3.2
- uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2.7.0
with:
gradle-home-cache-cleanup: true
- run: ./gradlew dependencyGuard --quiet
- run: ./gradlew spotlessCheck :build-logic:spotlessCheck

build-publish:
publish:
if: github.repository == 'adevinta/spark-android'
needs: validation
runs-on: ubuntu-latest
Expand Down Expand Up @@ -79,7 +61,7 @@ jobs:
name: apk
path: '**/build/outputs/apk/**/*.apk'

- name: '🔥 Publish'
- name: '🚀 Publish'
run: >-
firebase appdistribution:distribute
catalog/build/outputs/apk/release/catalog-release.apk
Expand Down

0 comments on commit 4fe7ec4

Please sign in to comment.