@@ -2,7 +2,7 @@ name: Push
22
33on :
44 push :
5- branches : ["flutter" ]
5+ branches : [ "main" ]
66 paths-ignore :
77 - ' **.md'
88 - ' docs/**'
@@ -111,14 +111,14 @@ jobs:
111111 name : AAB Generated
112112 path : build/app/outputs/bundle
113113
114- - name : Upload APK/AAB to apk branch
114+ - name : Upload APK/AAB to app branch
115115 if : ${{ github.repository == 'fossasia/pslab-app' }}
116116 run : |
117117 git config --global user.name "github-actions[bot]"
118118 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
119119
120- git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
121- cd apk
120+ git clone --branch=app https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} app
121+ cd app
122122
123123 branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
124124
@@ -143,14 +143,14 @@ jobs:
143143
144144 ls
145145
146- echo "Pushing to apk branch"
146+ echo "Pushing to app branch"
147147
148148 git checkout --orphan temporary
149149 git add --all .
150150 git commit -am "[Auto] Update APK/AABs from $branch ($(date +%Y-%m-%d.%H:%M:%S))"
151- git branch -D apk
152- git branch -m apk
153- git push --force origin apk
151+ git branch -D app
152+ git branch -m app
153+ git push --force origin app
154154
155155 - name : Update app in Open Testing track
156156 if : ${{ github.repository == 'fossasia/pslab-app' }}
@@ -170,7 +170,7 @@ jobs:
170170 uses : maxim-lobanov/setup-xcode@v1.7.0
171171 with :
172172 xcode-version : ' 26.3.0'
173-
173+
174174 - uses : actions/checkout@v6
175175
176176 - name : Prepare Build Keys
@@ -281,15 +281,15 @@ jobs:
281281 VERSION_NAME : ${{needs.common.outputs.VERSION_NAME}}
282282 VERSION_CODE : ${{needs.common.outputs.VERSION_CODE}}
283283
284- - name : Upload installer to apk branch
284+ - name : Upload installer to app branch
285285 if : ${{ github.repository == 'fossasia/pslab-app' }}
286286 shell : bash
287287 run : |
288288 git config --global user.name "github-actions[bot]"
289289 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
290290
291- git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
292- cd apk
291+ git clone --branch=app https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} app
292+ cd app
293293
294294 branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
295295
@@ -301,14 +301,14 @@ jobs:
301301
302302 cp -v ../build/windows/x64/installer/Release/*.exe .
303303
304- echo "Pushing to apk branch"
304+ echo "Pushing to app branch"
305305
306306 git checkout --orphan temporary
307307 git add --all .
308308 git commit -am "[Auto] Update Windows Installer from $branch ($(date +%Y-%m-%d.%H:%M:%S))"
309- git branch -D apk
310- git branch -m apk
311- git push --force origin apk
309+ git branch -D app
310+ git branch -m app
311+ git push --force origin app
312312
313313 linux :
314314 name : Linux Flutter Build
@@ -322,15 +322,15 @@ jobs:
322322 with :
323323 VERSION_NAME : ${{needs.common.outputs.VERSION_NAME}}
324324 VERSION_CODE : ${{needs.common.outputs.VERSION_CODE}}
325-
326- - name : Upload packages to apk branch
325+
326+ - name : Upload packages to app branch
327327 if : ${{ github.repository == 'fossasia/pslab-app' }}
328328 run : |
329329 git config --global user.name "github-actions[bot]"
330330 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
331331
332- git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
333- cd apk
332+ git clone --branch=app https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} app
333+ cd app
334334
335335 branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
336336
@@ -344,14 +344,14 @@ jobs:
344344 cp -v ../*.deb .
345345 cp -v ../*.rpm .
346346
347- echo "Pushing to apk branch"
347+ echo "Pushing to app branch"
348348
349349 git checkout --orphan temporary
350350 git add --all .
351351 git commit -am "[Auto] Update Linux Packages from $branch ($(date +%Y-%m-%d.%H:%M:%S))"
352- git branch -D apk
353- git branch -m apk
354- git push --force origin apk
352+ git branch -D app
353+ git branch -m app
354+ git push --force origin app
355355
356356 linux-arm64 :
357357 name : Linux ARM64 Flutter Build
@@ -365,15 +365,15 @@ jobs:
365365 with :
366366 VERSION_NAME : ${{needs.common.outputs.VERSION_NAME}}
367367 VERSION_CODE : ${{needs.common.outputs.VERSION_CODE}}
368-
369- - name : Upload packages to apk branch
368+
369+ - name : Upload packages to app branch
370370 if : ${{ github.repository == 'fossasia/pslab-app' }}
371371 run : |
372372 git config --global user.name "github-actions[bot]"
373373 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
374374
375- git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
376- cd apk
375+ git clone --branch=app https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} app
376+ cd app
377377
378378 branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
379379
@@ -386,14 +386,14 @@ jobs:
386386 cp -v ../*.deb .
387387 cp -v ../*.rpm .
388388
389- echo "Pushing to apk branch"
389+ echo "Pushing to app branch"
390390
391391 git checkout --orphan temporary
392392 git add --all .
393393 git commit -am "[Auto] Update Linux ARM64 Packages from $branch ($(date +%Y-%m-%d.%H:%M:%S))"
394- git branch -D apk
395- git branch -m apk
396- git push --force origin apk
394+ git branch -D app
395+ git branch -m app
396+ git push --force origin app
397397
398398 macos :
399399 name : macOS Flutter Build
@@ -407,15 +407,15 @@ jobs:
407407 with :
408408 VERSION_NAME : ${{needs.common.outputs.VERSION_NAME}}
409409 VERSION_CODE : ${{needs.common.outputs.VERSION_CODE}}
410-
411- - name : Upload dmg to apk branch
410+
411+ - name : Upload dmg to app branch
412412 if : ${{ github.repository == 'fossasia/pslab-app' }}
413413 run : |
414414 git config --global user.name "github-actions[bot]"
415415 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
416416
417- git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
418- cd apk
417+ git clone --branch=app https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} app
418+ cd app
419419
420420 branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
421421
@@ -427,11 +427,11 @@ jobs:
427427
428428 cp -v ../*.dmg .
429429
430- echo "Pushing to apk branch"
430+ echo "Pushing to app branch"
431431
432432 git checkout --orphan temporary
433433 git add --all .
434434 git commit -am "[Auto] Update macOS DMG from $branch ($(date +%Y-%m-%d.%H:%M:%S))"
435- git branch -D apk
436- git branch -m apk
437- git push --force origin apk
435+ git branch -D app
436+ git branch -m app
437+ git push --force origin app
0 commit comments