@@ -99,96 +99,96 @@ jobs:
9999 id : deployment
100100 uses : actions/deploy-pages@v4
101101
102- android :
103- name : Android
104- runs-on : ubuntu-latest
105- permissions :
106- contents : read
107- pages : write
108- id-token : write
109- steps :
110- - name : Set up Flutter
111- uses : subosito/flutter-action@v2
112- with :
113- flutter-version : " 3.22.2"
114- channel : " stable"
115-
116- - uses : actions/setup-java@v4
117- with :
118- java-version : " 17"
119- distribution : " oracle"
120-
121- - uses : actions/checkout@v4
122- with :
123- path : " app"
124-
125- - uses : actions/checkout@v4
126- with :
127- repository : " hmziqrs/keys-n-stuff"
128- path : " app/.keys-n-stuff"
129- token : ${{ secrets.TOKEN }}
130-
131- - name : Execute Keys n Stuff
132- run : |
133- cd app
134- dart ./scripts/keys-n-stuff.dart
135-
136- - run : |
137- cd app
138- flutter pub get
139- dart scripts/version_sync.dart
140- flutter build apk -t lib/main.firebase.dart --release
141- flutter build appbundle -t lib/main.firebase.dart --release
142-
143- - name : Create Android Release
144- uses : ncipollo/release-action@v1
145- with :
146- artifacts : " app/build/app/outputs/apk/release/app-release.apk,app/build/app/outputs/bundle/release/app-release.aab"
147- token : ${{ secrets.TOKEN }}
148- allowUpdates : true
149-
150- - uses : actions/upload-artifact@v4
151- with :
152- name : " app-release.aab"
153- path : " app/build/app/outputs/bundle/release/app-release.aab"
154- - uses : actions/upload-artifact@v4
155- with :
156- name : " app-release.apk"
157- path : " app/build/app/outputs/apk/release/app-release.apk"
158-
159- playstore :
160- name : Playstore Release
161- needs : android
162- runs-on : ubuntu-latest
163- permissions :
164- contents : read
165- pages : write
166- id-token : write
167- steps :
168- - uses : actions/checkout@v4
169- with :
170- repository : " hmziqrs/keys-n-stuff"
171- path : " keys"
172- token : ${{ secrets.TOKEN }}
173-
174- - uses : actions/download-artifact@v4
175- with :
176- name : app-release.aab
177- path : artifacts
178- - run : ls -lah
179- - run : ls -lah keys/
180- - run : ls -lah keys/fuid
181- - run : ls -lah artifacts
182- - run : ls -lah artifacts/app-release.aab
183- - name : Upload app bundle to Google Play
184- uses : r0adkll/upload-google-play@v1
185- with :
186- serviceAccountJson : " keys/fuid/service-account.json"
187- packageName : " com.onemdev.flutter_ui_challenges"
188- releaseFile : " artifacts/*.aab"
189- track : " beta"
190- inAppUpdatePriority : 3
191- status : completed
102+ # android:
103+ # name: Android
104+ # runs-on: ubuntu-latest
105+ # permissions:
106+ # contents: read
107+ # pages: write
108+ # id-token: write
109+ # steps:
110+ # - name: Set up Flutter
111+ # uses: subosito/flutter-action@v2
112+ # with:
113+ # flutter-version: "3.22.2"
114+ # channel: "stable"
115+
116+ # - uses: actions/setup-java@v4
117+ # with:
118+ # java-version: "17"
119+ # distribution: "oracle"
120+
121+ # - uses: actions/checkout@v4
122+ # with:
123+ # path: "app"
124+
125+ # - uses: actions/checkout@v4
126+ # with:
127+ # repository: "hmziqrs/keys-n-stuff"
128+ # path: "app/.keys-n-stuff"
129+ # token: ${{ secrets.TOKEN }}
130+
131+ # - name: Execute Keys n Stuff
132+ # run: |
133+ # cd app
134+ # dart ./scripts/keys-n-stuff.dart
135+
136+ # - run: |
137+ # cd app
138+ # flutter pub get
139+ # dart scripts/version_sync.dart
140+ # flutter build apk -t lib/main.firebase.dart --release
141+ # flutter build appbundle -t lib/main.firebase.dart --release
142+
143+ # - name: Create Android Release
144+ # uses: ncipollo/release-action@v1
145+ # with:
146+ # artifacts: "app/build/app/outputs/apk/release/app-release.apk,app/build/app/outputs/bundle/release/app-release.aab"
147+ # token: ${{ secrets.TOKEN }}
148+ # allowUpdates: true
149+
150+ # - uses: actions/upload-artifact@v4
151+ # with:
152+ # name: "app-release.aab"
153+ # path: "app/build/app/outputs/bundle/release/app-release.aab"
154+ # - uses: actions/upload-artifact@v4
155+ # with:
156+ # name: "app-release.apk"
157+ # path: "app/build/app/outputs/apk/release/app-release.apk"
158+
159+ # playstore:
160+ # name: Playstore Release
161+ # needs: android
162+ # runs-on: ubuntu-latest
163+ # permissions:
164+ # contents: read
165+ # pages: write
166+ # id-token: write
167+ # steps:
168+ # - uses: actions/checkout@v4
169+ # with:
170+ # repository: "hmziqrs/keys-n-stuff"
171+ # path: "keys"
172+ # token: ${{ secrets.TOKEN }}
173+
174+ # - uses: actions/download-artifact@v4
175+ # with:
176+ # name: app-release.aab
177+ # path: artifacts
178+ # - run: ls -lah
179+ # - run: ls -lah keys/
180+ # - run: ls -lah keys/fuid
181+ # - run: ls -lah artifacts
182+ # - run: ls -lah artifacts/app-release.aab
183+ # - name: Upload app bundle to Google Play
184+ # uses: r0adkll/upload-google-play@v1
185+ # with:
186+ # serviceAccountJson: "keys/fuid/service-account.json"
187+ # packageName: "com.onemdev.flutter_ui_challenges"
188+ # releaseFile: "artifacts/*.aab"
189+ # track: "beta"
190+ # inAppUpdatePriority: 3
191+ # status: completed
192192
193193 macos :
194194 name : MacOS
0 commit comments