CXAN-367 Fix create comment APIs to be backwards compatible (#622) #127
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: Release | |
on: | |
push: | |
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 shipit | |
- 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() |