Skip to content

Commit 2f39a1d

Browse files
committed
final push with proper introduction in README file
1 parent 47b954b commit 2f39a1d

File tree

2 files changed

+24
-17
lines changed

2 files changed

+24
-17
lines changed

.github/workflows/android_ios_web_build.yml renamed to .github/workflows/main.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ jobs:
5050
- run: flutter pub get
5151

5252
# Flutter android apk build command.
53-
# - run: flutter build apk
53+
- run: flutter build apk
5454
- run: flutter build apk --split-per-abi
5555

5656
# Flutter ios ipa build command.
57-
# - run: |
58-
# flutter build ios --no-codesign
59-
# cd build/ios/iphoneos
60-
# mkdir Payload
61-
# cd Payload
62-
# ln -s ../Runner.app
63-
# cd ..
64-
# zip -r app.ipa Payload
57+
- run: |
58+
flutter build ios --no-codesign
59+
cd build/ios/iphoneos
60+
mkdir Payload
61+
cd Payload
62+
ln -s ../Runner.app
63+
cd ..
64+
zip -r app.ipa Payload
6565
6666
# Flutter web release command.
6767
- run: flutter build web --web-renderer html --release
@@ -81,7 +81,6 @@ jobs:
8181
- name: Push to Release
8282
uses: ncipollo/release-action@v1
8383
with:
84-
# artifacts: "build/app/outputs/flutter-apk/*,build/ios/iphoneos/app.ipa"
85-
artifacts: "build/app/outputs/flutter-apk/*"
84+
artifacts: "build/app/outputs/flutter-apk/*,build/ios/iphoneos/app.ipa"
8685
tag: ${{env.my_tag}}
8786
token: ${{env.my_secret}}

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,19 @@ A new Flutter project.
66

77
This project is a starting point for a Flutter application.
88

9-
A few resources to get you started if this is your first Flutter project:
9+
## Steps
1010

11-
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
11+
- Create a new Flutter project
12+
- Copy the full .github folder from this repo into the new project
13+
- Create a new repo on GitHub
14+
- Generate a new personal access token with the repo scope
15+
- Replace your credentials in the .github/workflows/main.yml file (see below)
1316

14-
For help getting started with Flutter development, view the
15-
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
17+
```
18+
my_repo: "sabikrahat/github_workflow_flutter_project.git"
19+
my_secret: "${{secrets.WORKFLOW_TOKEN}}"
20+
my_email: "sabikrahat72428@gmail.com"
21+
my_name: "Md. Sabik Alam Rahat"
22+
my_tag: "v1.0.${{github.run_number}}"
23+
```
24+

0 commit comments

Comments
 (0)