Test workflow_run
diff --git a/.github/workflows/snapshot_tests.yml b/.github/workflows/snapshot_tests.yml
index 08ed5ff..1568e41 100644
--- a/.github/workflows/snapshot_tests.yml
+++ b/.github/workflows/snapshot_tests.yml
@@ -59,21 +59,8 @@
**Snapshot Tests**
**API 23**: [Report](https://happo.io/a/27/report/${{ github.sha }}-android23) [Diff](https://happo.io/a/27/p/27/compare/master-android23/${{ github.sha }}-android23)
**API 31**: [Report](https://happo.io/a/27/report/${{ github.sha }}-android31) [Diff](https://happo.io/a/27/p/27/compare/master-android31/${{ github.sha }}-android31)
- deploy:
- if: github.event_name == 'push' && github.repository == 'airbnb/lottie-android' && github.ref == 'refs/heads/master'
- runs-on: ubuntu-latest
- needs: [snapshot-tests]
- steps:
- - name: Checkout the code
- uses: actions/checkout@v3
- - name: Setup JDK
- uses: actions/setup-java@v2
- with:
- distribution: 'zulu'
- java-version: 11
- cache: 'gradle'
- - name: "Deploy Snapshot"
- env:
- SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
- SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- run: ./deploy_snapshot.sh
+ - name: "Deploy Snapshot"
+ env:
+ SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
+ SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
+ run: ./deploy_snapshot.sh