CXAN-490 Support Custom subscription type #246
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Cache | |
uses: actions/[email protected] | |
with: | |
path: | | |
"$HOME/.gradle/caches/" | |
"$HOME/.gradle/wrapper/" | |
"$HOME/.android/build-cache" | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
- name: set up JDK 11 | |
uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Install Ruby | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.6.3 | |
bundler-cache: true | |
- name: Fastlane | |
run: FASTLANE_SKIP_UPDATE_CHECK=1 bundle exec fastlane test | |
- name: Clean up | |
run: | | |
rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | |
rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | |
- name: Notify Slack | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: ${{ job.status }} | |
fields: repo,action,ref,job,took | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
if: always() |