Commit 4e95207
committed
Refactor: Extract tag setup to reusable GitHub Action
This commit extracts the logic for setting up the tag and updating `pubspec.yaml` into a reusable GitHub Action. This simplifies the main workflow file and promotes code reuse.
The `setup-tag` job has been removed from `release_flutter_app.yaml`, and its steps are now encapsulated in the new `.github/actions/setup-tag/action.yml` file.
The `build-android` and `build-ios` jobs now use this new reusable action.1 parent 6e291f3 commit 4e95207
2 files changed
Lines changed: 22 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 9 | | |
26 | 10 | | |
27 | | - | |
28 | 11 | | |
29 | 12 | | |
30 | 13 | | |
31 | 14 | | |
32 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
33 | 19 | | |
34 | 20 | | |
35 | 21 | | |
| |||
53 | 39 | | |
54 | 40 | | |
55 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
56 | 45 | | |
57 | 46 | | |
58 | 47 | | |
| |||
0 commit comments