@@ -57,14 +57,14 @@ jobs:
57
57
flutter pub run cider version ${{ env.VERSION }}+${{ env.BUILD }}
58
58
flutter pub run cider bump build
59
59
60
- - name : Build application for linux
61
- run : |
62
- sudo apt update
63
- sudo apt install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev
64
- flutter build linux --release
65
- cd flatpak/scripts
66
- dart pub get
67
- dart flatpak_packager.dart --meta ../flatpak_meta.json --github --addTodaysVersion ${{ env.VERSION }}
60
+ # - name: Build application for linux
61
+ # run: |
62
+ # sudo apt update
63
+ # sudo apt install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev
64
+ # flutter build linux --release
65
+ # cd flatpak/scripts
66
+ # dart pub get
67
+ # dart flatpak_packager.dart --meta ../flatpak_meta.json --github --addTodaysVersion ${{ env.VERSION }}
68
68
69
69
- name : Build AAB
70
70
run : flutter build appbundle --release
@@ -88,30 +88,30 @@ jobs:
88
88
files : |
89
89
build/app/outputs/bundle/release/app-release.aab
90
90
build/app/outputs/bundle/release/app-release.apk
91
- flatpak/scripts/flatpak_generator_exports/wger-linux-x86_64.tar.gz
92
- flatpak/scripts/flatpak_generator_exports/wger-linux-x86_64.sha256
93
-
94
- - name : Generate flathub manifest
95
- run : |
96
- cd flatpak/scripts
97
- dart pub get
98
- dart manifest_generator.dart --meta ../flatpak_meta.json --github
99
- mkdir ../../flathub
100
- cp flatpak_generator_exports/de.wger.flutter.json ../../flathub
101
- cp flatpak_generator_exports/flathub.json ../../flathub
102
-
103
- - name : Push updated config to flathub repository
104
- uses : cpina/github-action-push-to-another-repository@main
105
- env :
106
- SSH_DEPLOY_KEY : ${{ secrets.SSH_DEPLOY_KEY }}
107
- with :
108
- source-directory : flathub
109
- destination-github-username : wger-project
110
- destination-repository-name : de.wger.flutter
111
-
112
- target-branch : release-${{ env.VERSION }}
113
- create-target-branch-if-needed : true
114
- commit-message : Update to ${{ env.VERSION }}
91
+ # flatpak/scripts/flatpak_generator_exports/wger-linux-x86_64.tar.gz
92
+ # flatpak/scripts/flatpak_generator_exports/wger-linux-x86_64.sha256
93
+
94
+ # - name: Generate flathub manifest
95
+ # run: |
96
+ # cd flatpak/scripts
97
+ # dart pub get
98
+ # dart manifest_generator.dart --meta ../flatpak_meta.json --github
99
+ # mkdir ../../flathub
100
+ # cp flatpak_generator_exports/de.wger.flutter.json ../../flathub
101
+ # cp flatpak_generator_exports/flathub.json ../../flathub
102
+ #
103
+ # - name: Push updated config to flathub repository
104
+ # uses: cpina/github-action-push-to-another-repository@main
105
+ # env:
106
+ # SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
107
+ # with:
108
+ # source-directory: flathub
109
+ # destination-github-username: wger-project
110
+ # destination-repository-name: de.wger.flutter
111
+
112
+ # target-branch: release-${{ env.VERSION }}
113
+ # create-target-branch-if-needed: true
114
+ # commit-message: Update to ${{ env.VERSION }}
115
115
116
116
# Note: the original tag that triggered the workflow is in the form vX.Y.Z
117
117
# but the pubspec.yaml is committed in the commit after that one.
0 commit comments