revert change to newer dart cli #424
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
on: | |
push: | |
pull_request: | |
jobs: | |
build_android: | |
name: Build Android Artifact | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.19.2' | |
cache: true | |
- name: Run build script | |
run: bash ${GITHUB_WORKSPACE}/Scripts/build.sh | |
working-directory: Scripts | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
build/app/outputs/apk | |
build/app/outputs/bundle | |
compression-level: 0 # bundles are already compressed | |
- name: Upload debug symbols | |
run: flutter packages pub run sentry_dart_plugin | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
SENTRY_URL: ${{ secrets.SENTRY_URL }} | |
# - name: Create Sentry release | |
# uses: getsentry/action-release@v1 | |
# env: | |
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
# SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
# SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
# SENTRY_URL: ${{ secrets.SENTRY_URL }} | |
# with: | |
# version: ${{ steps.read_action_js.outputs['version'] }} |