@@ -212,17 +212,17 @@ jobs:
212
212
ln -s ../Runner.app
213
213
cd ..
214
214
zip -r app-release.ipa Payload
215
- mv app-release.ipa flutter_boolean_template -${{ env.BRANCH_NAME }}-ios.ipa
215
+ mv app-release.ipa ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-ios.ipa
216
216
- name : Upload IPA
217
217
uses : actions/upload-artifact@v4
218
218
with :
219
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-ios
220
- path : build/ios/iphoneos/flutter_boolean_template -*.ipa
219
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-ios
220
+ path : build/ios/iphoneos/${{ github.event.repository.name }} -*.ipa
221
221
- name : Release IPA
222
222
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
223
223
uses : ncipollo/release-action@v1
224
224
with :
225
- artifacts : build/ios/iphoneos/flutter_boolean_template -*.ipa
225
+ artifacts : build/ios/iphoneos/${{ github.event.repository.name }} -*.ipa
226
226
allowUpdates : true
227
227
omitBodyDuringUpdate : true
228
228
@@ -310,16 +310,16 @@ jobs:
310
310
# ln -s ../Runner.app
311
311
# cd ..
312
312
# zip -r app-release.ipa Payload
313
- # mv app-release.ipa flutter_boolean_template -${{ env.BRANCH_NAME }}-ios.ipa
313
+ # mv app-release.ipa ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-ios.ipa
314
314
# - name: Upload IPA
315
315
# uses: actions/upload-artifact@v4
316
316
# with:
317
- # path: build/ios/iphoneos/flutter_boolean_template -*.ipa
317
+ # path: build/ios/iphoneos/${{ github.event.repository.name }} -*.ipa
318
318
# - name: Release IPA
319
319
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
320
320
# uses: ncipollo/release-action@v1
321
321
# with:
322
- # artifacts: build/ios/iphoneos/flutter_boolean_template -*.ipa
322
+ # artifacts: build/ios/iphoneos/${{ github.event.repository.name }} -*.ipa
323
323
# allowUpdates: true
324
324
# omitBodyDuringUpdate: true
325
325
@@ -394,21 +394,21 @@ jobs:
394
394
flutter pub get
395
395
flutter build apk --release --split-per-abi --dart-define FLUTTER_APP_FLAVOR=${{ env.FLAVOR }}
396
396
cd build/app/outputs/flutter-apk
397
- mv app-arm64-v8a-release.apk flutter_boolean_template -${{ env.BRANCH_NAME }}-android-arm64-v8a.apk
398
- mv app-armeabi-v7a-release.apk flutter_boolean_template -${{ env.BRANCH_NAME }}-android-armeabi-v7a.apk
399
- mv app-x86_64-release.apk flutter_boolean_template -${{ env.BRANCH_NAME }}-android-x86_64.apk
397
+ mv app-arm64-v8a-release.apk ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-arm64-v8a.apk
398
+ mv app-armeabi-v7a-release.apk ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-armeabi-v7a.apk
399
+ mv app-x86_64-release.apk ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-x86_64.apk
400
400
401
401
- name : Upload Split APKs
402
402
uses : actions/upload-artifact@v4
403
403
with :
404
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-android-split
405
- path : build/app/outputs/flutter-apk/flutter_boolean_template -*.apk
404
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-split
405
+ path : build/app/outputs/flutter-apk/${{ github.event.repository.name }} -*.apk
406
406
407
407
- name : Release Split APKs
408
408
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
409
409
uses : ncipollo/release-action@v1
410
410
with :
411
- artifacts : build/app/outputs/flutter-apk/flutter_boolean_template -*.apk
411
+ artifacts : build/app/outputs/flutter-apk/${{ github.event.repository.name }} -*.apk
412
412
allowUpdates : true
413
413
omitBodyDuringUpdate : true
414
414
@@ -417,19 +417,19 @@ jobs:
417
417
flutter pub get
418
418
flutter build apk --release --dart-define FLUTTER_APP_FLAVOR=${{ env.FLAVOR }}
419
419
cd build/app/outputs/flutter-apk
420
- mv app-release.apk flutter_boolean_template -${{ env.BRANCH_NAME }}-android-universal.apk
420
+ mv app-release.apk ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-universal.apk
421
421
422
422
- name : Upload Universal APK
423
423
uses : actions/upload-artifact@v4
424
424
with :
425
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-android-universal
426
- path : build/app/outputs/flutter-apk/flutter_boolean_template -${{ env.BRANCH_NAME }}-android-universal.apk
425
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-universal
426
+ path : build/app/outputs/flutter-apk/${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-universal.apk
427
427
428
428
- name : Release Universal APKs
429
429
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
430
430
uses : ncipollo/release-action@v1
431
431
with :
432
- artifacts : build/app/outputs/flutter-apk/flutter_boolean_template -${{ env.BRANCH_NAME }}-android-universal.apk
432
+ artifacts : build/app/outputs/flutter-apk/${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-universal.apk
433
433
allowUpdates : true
434
434
omitBodyDuringUpdate : true
435
435
@@ -438,19 +438,19 @@ jobs:
438
438
flutter pub get
439
439
flutter build appbundle --release --dart-define FLUTTER_APP_FLAVOR=${{ env.FLAVOR }}
440
440
cd build/app/outputs/bundle/release
441
- mv app-release.aab flutter_boolean_template -${{ env.BRANCH_NAME }}-android-appbundle.aab
441
+ mv app-release.aab ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-appbundle.aab
442
442
443
443
- name : Upload Android App Bundle
444
444
uses : actions/upload-artifact@v4
445
445
with :
446
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-android-appbundle
446
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-android-appbundle
447
447
path : build/app/outputs/bundle/release/*.aab
448
448
449
449
- name : Release Android App Bundle
450
450
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
451
451
uses : ncipollo/release-action@v1
452
452
with :
453
- artifacts : build/app/outputs/bundle/release/flutter_boolean_template -*.aab
453
+ artifacts : build/app/outputs/bundle/release/${{ github.event.repository.name }} -*.aab
454
454
allowUpdates : true
455
455
omitBodyDuringUpdate : true
456
456
@@ -527,18 +527,18 @@ jobs:
527
527
run : |
528
528
dart run msix:create --build-windows false
529
529
cd build\windows\x64\runner\Release
530
- mv flutter_boolean_template. msix flutter_boolean_template -${{ env.BRANCH_NAME }}-windows.msix
530
+ mv ${{ github.event.repository.name }}. msix ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-windows.msix
531
531
- name : Upload MSIX
532
532
uses : actions/upload-artifact@v4
533
533
with :
534
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-windows
534
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-windows
535
535
path : build/windows/x64/runner/Release/*.msix
536
536
537
537
- name : Release MSIX
538
538
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
539
539
uses : ncipollo/release-action@v1
540
540
with :
541
- artifacts : build/windows/x64/runner/Release/flutter_boolean_template -*.msix
541
+ artifacts : build/windows/x64/runner/Release/${{ github.event.repository.name }} -*.msix
542
542
allowUpdates : true
543
543
omitBodyDuringUpdate : true
544
544
@@ -615,22 +615,22 @@ jobs:
615
615
chmod a+x appimagetool-x86_64.AppImage
616
616
mv appimagetool-x86_64.AppImage appimagetool
617
617
618
- mv build/linux/x64/release/bundle/{flutter_boolean_template ,AppRun}
618
+ mv build/linux/x64/release/bundle/{${{ github.event.repository.name }} ,AppRun}
619
619
cp linux/appimage/* build/linux/x64/release/bundle/
620
620
./appimagetool build/linux/x64/release/bundle/
621
- mv *.AppImage build/flutter_boolean_template -${{ env.BRANCH_NAME }}-linux.AppImage
621
+ mv *.AppImage build/${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-linux.AppImage
622
622
623
623
- name : Upload AppImage
624
624
uses : actions/upload-artifact@v4
625
625
with :
626
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-linux-appimage
627
- path : build/flutter_boolean_template -*.AppImage
626
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-linux-appimage
627
+ path : build/${{ github.event.repository.name }} -*.AppImage
628
628
629
629
- name : Release AppImage
630
630
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
631
631
uses : ncipollo/release-action@v1
632
632
with :
633
- artifacts : build/flutter_boolean_template -*.AppImage
633
+ artifacts : build/${{ github.event.repository.name }} -*.AppImage
634
634
allowUpdates : true
635
635
omitBodyDuringUpdate : true
636
636
@@ -707,19 +707,19 @@ jobs:
707
707
retry_on : error
708
708
command : |
709
709
brew install create-dmg
710
- create-dmg --volname flutter_boolean_template -${{ env.BRANCH_NAME }}-macos --window-pos 200 120 --window-size 800 450 --icon-size 100 --app-drop-link 600 185 flutter_boolean_template -${{ env.BRANCH_NAME }}-macos.dmg build/macos/Build/Products/Release/flutter_boolean_template .app
710
+ create-dmg --volname ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-macos --window-pos 200 120 --window-size 800 450 --icon-size 100 --app-drop-link 600 185 ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-macos.dmg build/macos/Build/Products/Release/${{ github.event.repository.name }} .app
711
711
712
712
- name : Upload DMG
713
713
uses : actions/upload-artifact@v4
714
714
with :
715
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-macos-dmg
716
- path : " /Users/runner/work/flutter_boolean_template/flutter_boolean_template /*.dmg"
715
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-macos-dmg
716
+ path : " /Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }} /*.dmg"
717
717
718
718
- name : Release DMG
719
719
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
720
720
uses : ncipollo/release-action@v1
721
721
with :
722
- artifacts : /Users/runner/work/flutter_boolean_template/flutter_boolean_template/flutter_boolean_template -*.dmg
722
+ artifacts : /Users/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/${{ github.event.repository.name }} -*.dmg
723
723
allowUpdates : true
724
724
omitBodyDuringUpdate : true
725
725
@@ -789,7 +789,7 @@ jobs:
789
789
- name : Upload Artifact
790
790
uses : actions/upload-artifact@v4
791
791
with :
792
- name : flutter_boolean_template -${{ env.BRANCH_NAME }}-web
792
+ name : ${{ github.event.repository.name }} -${{ env.BRANCH_NAME }}-web
793
793
path : build/web
794
794
795
795
deploy_web :
0 commit comments