Skip to content

Commit 1e2ba23

Browse files
committed
Temporarily don't build application for linux
See #577
1 parent 3811831 commit 1e2ba23

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

.github/workflows/build-release.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ jobs:
5757
flutter pub run cider version ${{ env.VERSION }}+${{ env.BUILD }}
5858
flutter pub run cider bump build
5959
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 }}
6868

6969
- name: Build AAB
7070
run: flutter build appbundle --release
@@ -88,30 +88,30 @@ jobs:
8888
files: |
8989
build/app/outputs/bundle/release/app-release.aab
9090
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-
user-email: [email protected]
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+
# user-email: [email protected]
112+
# target-branch: release-${{ env.VERSION }}
113+
# create-target-branch-if-needed: true
114+
# commit-message: Update to ${{ env.VERSION }}
115115

116116
# Note: the original tag that triggered the workflow is in the form vX.Y.Z
117117
# but the pubspec.yaml is committed in the commit after that one.

0 commit comments

Comments
 (0)