Skip to content

Commit

Permalink
Fix release workflow adding missing DX workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrico972 authored Oct 26, 2021
1 parent 5ca2079 commit d1faec0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
type: ${{ job.status }}
job_name: "Airship Cordova Plugin Release Started!"
url: ${{ secrets.SLACK_WEBHOOK }}
# Build tools 31.0.0 doesn't include dx (only d8), which Cordova expects to find.
# Uninstalling causes automatic build-tools resolution to fall back to an older
# version that does include dx.
- name: Workaround "Build-tool 31.0.0 is missing DX" error
run: bash $ANDROID_SDK_ROOT/tools/bin/sdkmanager --uninstall 'build-tools;31.0.0'
- name: Run CI
run: |
bash ./scripts/run_ci_tasks.sh -a -i
Expand Down

0 comments on commit d1faec0

Please sign in to comment.