Skip to content

Commit

Permalink
chore: add secrets to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sergdeus committed Sep 13, 2022
1 parent fe5664b commit 72f18bb
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/build_from_tags_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,26 +64,19 @@ jobs:
msg: ${{ steps.yaml-data.outputs.data }}
separator: "+"

- name: Check the build number
run: |
echo "${{ steps.yaml-data.outputs.data }}"
echo "${{ steps.split.outputs._0 }}"
echo "${{ steps.split.outputs._1 }}"
- uses: subosito/flutter-action@v2
with:
channel: 'stable'

- run: flutter pub get

# - uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
#
# - run: flutter pub get
#
# - name: Build-runner
# run: flutter packages pub run build_runner build --delete-conflicting-outputs
#
# - name: Build AgoraDesk APK (Refular + FOSS)
# run: |
# flutter build apk --flavor agoradesk --dart-define=app.flavor=agoradesk
# mv build/app/outputs/flutter-apk/app-agoradesk-release.apk build/app/outputs/flutter-apk/com.agoradesk.app_${{ steps.split.outputs._2 }}.apk
- name: Build-runner
run: flutter packages pub run build_runner build --delete-conflicting-outputs

- name: Build AgoraDesk APK (Refular + FOSS)
run: |
flutter build apk --flavor agoradesk --dart-define=app.flavor=agoradesk
mv build/app/outputs/flutter-apk/app-agoradesk-release.apk build/app/outputs/flutter-apk/com.agoradesk.app_${{ steps.split.outputs._1 }}.apk
# flutter build apk --flavor agoradesk --dart-define=app.flavor=agoradesk --dart-define=app.includeFcm=false
# mv build/app/outputs/flutter-apk/app-agoradesk-release.apk build/app/outputs/flutter-apk/com.agoradesk.app-foss_$appBuildNumber.apk

Expand Down

0 comments on commit 72f18bb

Please sign in to comment.