Update deploy snapshot script (#1620)
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
deleted file mode 100644
index 22070d6..0000000
--- a/.github/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,8 +0,0 @@
-**Read this or your issue will be closed**
-
-
-* Before opening a new issue, look through existing issues for duplicates.
-* Simplify your animation to the simplest animation that reproduces your issue.
-* Zip your After Effects AEP file and attach it. Your issue will be auto-closed if it doesn't have an AEP or no explicit reason otherwise is given.
-* If you don't know English, run your issue through Google Translate.
-* If you leave the template text in your issue, it will be closed.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 57a813d..2aa9a82 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -6,7 +6,11 @@
assignees: ''
---
-** If you don't use this template, your issue will be closed **
+
+*Lottie is supported and developed on nights and weekends. Issues from [Lottie sponsors](https://github.com/users/gpeal/sponsorship) will be prioritized.*
+
+
+**If you don't use this template, your issue will be closed. Delete this text once completed.**
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
@@ -21,5 +25,3 @@
Add any other context or screenshots about the feature request here.
-
-*Lottie is supported and developed on nights and weekends. Please consider [sponsoring Lottie](https://github.com/users/gpeal/sponsorship) to prioritize this issue and help support this issue as well as future investments.*
diff --git a/.github/ISSUE_TEMPLATE/non-rendering-bug.md b/.github/ISSUE_TEMPLATE/non-rendering-bug.md
index acbdd98..7005a7d 100644
--- a/.github/ISSUE_TEMPLATE/non-rendering-bug.md
+++ b/.github/ISSUE_TEMPLATE/non-rendering-bug.md
@@ -6,7 +6,9 @@
assignees: ''
---
-** If you don't use this template, your issue will be closed **
+*Lottie is supported and developed on nights and weekends. Issues from [Lottie sponsors](https://github.com/users/gpeal/sponsorship) will be prioritized.*
+
+**If you don't use this template, your issue will be closed. Delete this text once completed.**
**Checklist**
@@ -24,8 +26,4 @@
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
-4. See error
-
-
-
-*Lottie is supported and developed on nights and weekends. Please consider [sponsoring Lottie](https://github.com/users/gpeal/sponsorship) to prioritize this issue and help support this issue as well as future investments.*
+4. See error
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/rendering-bug.md b/.github/ISSUE_TEMPLATE/rendering-bug.md
index 0ad2353..2da0c1f 100644
--- a/.github/ISSUE_TEMPLATE/rendering-bug.md
+++ b/.github/ISSUE_TEMPLATE/rendering-bug.md
@@ -6,7 +6,9 @@
assignees: ''
---
-** If you don't use this template, your issue will be closed **
+*Lottie is supported and developed on nights and weekends. Issues from [Lottie sponsors](https://github.com/users/gpeal/sponsorship) will be prioritized.*
+
+**If you don't use this template, your issue will be closed. Delete this text once completed.**
**Checklist**
@@ -30,8 +32,4 @@
3. Scroll down to '....'
4. See error
-**Screenshots**
-
-
-
-*Lottie is supported and developed on nights and weekends. Please consider [sponsoring Lottie](https://github.com/users/gpeal/sponsorship) to prioritize this issue and help support this issue as well as future investments.*
+**Screenshots**
\ No newline at end of file
diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml
deleted file mode 100644
index f721b56..0000000
--- a/.github/workflows/gradle-wrapper-validation.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-name: "Validate Gradle Wrapper"
-on:
- pull_request:
- push:
- branches:
- - master
-
-jobs:
- validation:
- name: "Validation"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: gradle/wrapper-validation-action@v1
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index f63a107..070cc72 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -1,10 +1,15 @@
-name: Verify
+name: Validate
on:
pull_request:
push:
branches:
- master
jobs:
+ gradle-wrapper:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: gradle/wrapper-validation-action@v1
lint:
runs-on: ubuntu-latest
steps:
diff --git a/README.md b/README.md
index 9833094..eed3221 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Lottie for Android, [iOS](https://github.com/airbnb/lottie-ios), [React Native](https://github.com/airbnb/lottie-react-native), [Web](https://github.com/airbnb/lottie-web), and [Windows](https://aka.ms/lottie)
-[![Build Status](https://travis-ci.org/airbnb/lottie-android.svg?branch=master)](https://travis-ci.org/airbnb/lottie-android)
+![Build Status](https://github.com/airbnb/lottie-android/workflows/Verify/badge.svg)
<a href='https://play.google.com/store/apps/details?id=com.airbnb.lottie'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' height="50px"/></a>
diff --git a/deploy_snapshot.sh b/deploy_snapshot.sh
index af61a1f..10e5591 100755
--- a/deploy_snapshot.sh
+++ b/deploy_snapshot.sh
@@ -5,17 +5,6 @@
# Adapted from https://coderwall.com/p/9b_lfq and
# http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/
-SLUG="airbnb/lottie-android"
-BRANCH="refs/head/master"
-
set -e
-if [ "$GITHUB_REPOSITORY" != "$SLUG" ]; then
- echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'."
-elif [ "$GITHUB_REF" != "$BRANCH" ]; then
- echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$TRAVIS_BRANCH'."
-else
- echo "Deploying snapshot..."
- ./gradlew uploadArchives -PSONATYPE_USERNAME="${SONATYPE_USERNAME}" -PSONATYPE_PASSWORD="${SONATYPE_PASSWORD}"
- echo "Snapshot deployed!"
-fi
+./gradlew uploadArchives -PSONATYPE_USERNAME="${SONATYPE_USERNAME}" -PSONATYPE_PASSWORD="${SONATYPE_PASSWORD}"