5252 with :
5353 channel : " stable"
5454 cache : true
55- cache-key : " flutter-:os:-:channel:-:version:-:arch:-:hash:"
56- cache-path : " ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
57- pub-cache-key : " flutter-pub:os:-:channel:-:version:-:arch:-:hash:"
58- pub-cache-path : " ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
5955
6056 # - name: Setup Android tools
6157 # uses: maxim-lobanov/setup-android-tools@v1
@@ -75,21 +71,21 @@ jobs:
7571 run : flutter pub get
7672
7773 - run : flutter doctor -v
78- - run : flutter analyze --seggestions
74+ - run : flutter analyze --suggestions
7975 # Create .env file for environment variables
80- # - name: Create .env file
81- # run: |
82- # cat <<EOF > .env
83- # GITHUBTOKEN=${{ secrets.GITHUBTOKEN }}
84- # EOF
76+ - name : Create .env file
77+ run : |
78+ cat <<EOF > .env
79+ GITHUBTOKEN=${{ secrets.GITHUBTOKEN }}
80+ EOF
8581
8682 # # Build APK with additional flags for optimization
87- # - run: flutter build apk --release
83+ - run : flutter build apk --release
8884
89- # # Upload to Telegram
90- # - name: Upload to Telegram
91- # run: |
92- # curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
93- # -F chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \
94- # -F document=@build/app/outputs/flutter-apk/app-release.apk \
95- # -F caption=app
85+ # Upload to Telegram
86+ - name : Upload to Telegram
87+ run : |
88+ curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
89+ -F chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \
90+ -F document=@build/app/outputs/flutter-apk/app-release.apk \
91+ -F caption=app
0 commit comments