Skip to content

refactored api_interceptor data-parsing logic #21

refactored api_interceptor data-parsing logic

refactored api_interceptor data-parsing logic #21

Workflow file for this run

name: Dart
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
# Set up Java 17
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: "temurin" # This is an OpenJDK distribution
java-version: "17"
# Set up Flutter
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.24.2
- run: flutter --version
- run: flutter pub get
# Build APK for debugging
- run: flutter build apk --debug --split-per-abi -t lib/main.dart
- run: flutter build appbundle
# Push the release
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/debug/*"
tag: v1.0.${{ github.run_number }}
token: ${{ secrets.TOKEN }}