Skip to content

Commit ac99235

Browse files
committed
Don't checkout flathub repo
(this wasn't even the flathub repo anyway, and the action checks it out on its own anyway)
1 parent 42b1807 commit ac99235

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/build-release.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,12 @@ on:
44
tags:
55
- 'v[0-9]+.[0-9]+.[0-9]+'
66

7-
defaults:
8-
run:
9-
working-directory: wger
10-
117
jobs:
128
deploy_android:
139
runs-on: ubuntu-latest
1410
steps:
1511
- name: Checkout application code
1612
uses: actions/checkout@v2
17-
with:
18-
path: wger
19-
20-
- name: Checkout flathub repo
21-
uses: actions/checkout@v3
22-
with:
23-
repository: wger-project/test
24-
path: flathub
2513

2614
- name: Setup Java
2715
uses: actions/setup-java@v1
@@ -102,14 +90,15 @@ jobs:
10290
cd flatpak/scripts
10391
dart pub get
10492
dart manifest_generator.dart --meta ../flatpak_meta.json --github
105-
cp flatpak_generator_exports/de.wger.flutter.json ../../../flathub
93+
mkdir /tmp/flathub
94+
cp flatpak_generator_exports/de.wger.flutter.json /tmp/flathub
10695
107-
- name: Push config to flathub repository
96+
- name: Push updated config to flathub repository
10897
uses: cpina/github-action-push-to-another-repository@main
10998
env:
11099
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
111100
with:
112-
source-directory: flathub
101+
source-directory: /tmp/flathub
113102
destination-github-username: wger-project
114103
destination-repository-name: de.wger.flutter
115104
user-email: [email protected]

0 commit comments

Comments
 (0)