26
26
uses : ./.github/workflows/build-linux.yml
27
27
with :
28
28
ref : ${{ github.event.inputs.version }}
29
+ secrets :
30
+ SSH_DEPLOY_KEY : ${{ secrets.SSH_DEPLOY_KEY }}
29
31
30
32
build_android :
31
33
name : Android
@@ -59,12 +61,12 @@ jobs:
59
61
- build_linux
60
62
steps :
61
63
- name : Checkout application
62
- uses : actions/checkout@v4
64
+ uses : actions/checkout@v5
63
65
with :
64
66
ref : ${{ github.event.inputs.version }}
65
67
66
68
- name : Download builds
67
- uses : actions/download-artifact@v4
69
+ uses : actions/download-artifact@v5
68
70
with :
69
71
path : /tmp/
70
72
@@ -103,7 +105,7 @@ jobs:
103
105
# - build_apple
104
106
# steps:
105
107
# - name: Checkout application
106
- # uses: actions/checkout@v4
108
+ # uses: actions/checkout@v5
107
109
# with:
108
110
# ref: feature/build-process
109
111
# # ref: ${{ github.event.inputs.version }}
@@ -112,7 +114,7 @@ jobs:
112
114
# uses: ./.github/actions/flutter-common
113
115
#
114
116
# - name: Download builds
115
- # uses: actions/download-artifact@v4
117
+ # uses: actions/download-artifact@v5
116
118
# with:
117
119
# path: /tmp/
118
120
#
@@ -131,54 +133,20 @@ jobs:
131
133
132
134
steps :
133
135
- name : Download builds
134
- uses : actions/download-artifact@v4
136
+ uses : actions/download-artifact@v5
135
137
136
138
- name : Make Github release
137
139
uses : softprops/action-gh-release@v2
138
140
with :
141
+ generate_release_notes : true
139
142
tag_name : ${{ inputs.version }}
140
143
files : |
141
144
builds-aab/app-release.aab
142
145
builds-apk/app-release.apk
143
- builds-linux/wger- linux-x86_64 .tar.gz
144
- builds-linux/wger-linux-x86_64.sha256
145
- builds-ios /Runner.app
146
- builds-macos/wger.app
146
+ builds-linux/linux-x64 .tar.gz
147
+ builds-ios/Runner.app.zip
148
+ builds-ipa /Runner.xcarchive.zip
149
+ builds-macos/wger.app.zip
147
150
builds-windows/wger.exe
148
151
149
- generate_flathub_manifest :
150
- runs-on : ubuntu-latest
151
- name : Upload flathub manifest
152
- needs :
153
- - make_gh_release
154
- steps :
155
- - name : Checkout application
156
- uses : actions/checkout@v4
157
- with :
158
- ref : ${{ github.event.inputs.version }}
159
-
160
- - name : Common flutter setup
161
- uses : ./.github/actions/flutter-common
162
-
163
- - name : Generate manifest
164
- run : |
165
- cd flatpak/scripts
166
- dart pub get
167
- dart manifest_generator.dart --meta ../flatpak_meta.json --github
168
- mkdir ../../flathub
169
- cp flatpak_generator_exports/de.wger.flutter.json ../../flathub
170
- cp flatpak_generator_exports/flathub.json ../../flathub
171
-
172
- - name : Push updated config to flathub repository
173
- uses : cpina/github-action-push-to-another-repository@main
174
- env :
175
- SSH_DEPLOY_KEY : ${{ secrets.SSH_DEPLOY_KEY }}
176
- with :
177
- source-directory : flathub
178
- destination-github-username : wger-project
179
- destination-repository-name : de.wger.flutter
180
-
181
- target-branch : release-${{ github.event.inputs.version }}
182
- create-target-branch-if-needed : true
183
- commit-message : Update to ${{ github.event.inputs.version }}
184
152
0 commit comments