Skip to content

Commit 81bd706

Browse files
authored
Update debugbuild.yml
1 parent 9b1ed1f commit 81bd706

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

.github/workflows/debugbuild.yml

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,20 @@ jobs:
3030
libayatana-appindicator3-dev \
3131
libmpv-dev
3232
33-
- name: Build Android APK
34-
run: flutter build apk --debug --split-per-abi --flavor dev --dart-define=FLUTTER_FLAVOR=dev
35-
36-
- name: Build Linux
37-
run: flutter build linux --debug
33+
- name: Prepare make_config.yaml
34+
run: |
35+
OS=linux
36+
for config_file in $(find "$OS/packaging" -type f -name "make_config_${GITHUB_REF_NAME}.yaml"); do
37+
target_dir=$(dirname "$config_file")
38+
cp "$config_file" "${target_dir}/make_config.yaml"
39+
echo "Copied $config_file → ${target_dir}/make_config.yaml"
40+
done
41+
42+
- name: Install Fastforge
43+
run: dart pub global activate fastforge
44+
45+
- name: Build and release
46+
run: fastforge release --name $GITHUB_REF_NAME
3847

3948
MACOSIOS:
4049
name: MacOS & iOS
@@ -52,6 +61,15 @@ jobs:
5261
- name: Install Flutter dependencies
5362
run: flutter pub get
5463

64+
- name: Prepare make_config.yaml
65+
run: |
66+
OS=macos
67+
for config_file in $(find "$OS/packaging" -type f -name "make_config_${GITHUB_REF_NAME}.yaml"); do
68+
target_dir=$(dirname "$config_file")
69+
cp "$config_file" "${target_dir}/make_config.yaml"
70+
echo "Copied $config_file → ${target_dir}/make_config.yaml"
71+
done
72+
5573
- name: Build macOS
5674
run: flutter build macos --debug
5775

@@ -71,6 +89,15 @@ jobs:
7189
flutter-version: "3.29.1"
7290
cache: true
7391

92+
- name: Prepare make_config.yaml
93+
run: |
94+
OS=windows
95+
for config_file in $(find "$OS/packaging" -type f -name "make_config_${GITHUB_REF_NAME}.yaml"); do
96+
target_dir=$(dirname "$config_file")
97+
cp "$config_file" "${target_dir}/make_config.yaml"
98+
echo "Copied $config_file → ${target_dir}/make_config.yaml"
99+
done
100+
74101
- name: Install Flutter dependencies
75102
run: flutter pub get
76103

0 commit comments

Comments
 (0)