From ac992354a4ab3eb5960f872e3911b737a23a2d52 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Sat, 18 Nov 2023 19:34:30 +0100 Subject: [PATCH] Don't checkout flathub repo (this wasn't even the flathub repo anyway, and the action checks it out on its own anyway) --- .github/workflows/build-release.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 70046801..1ff39e41 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -4,24 +4,12 @@ on: tags: - 'v[0-9]+.[0-9]+.[0-9]+' -defaults: - run: - working-directory: wger - jobs: deploy_android: runs-on: ubuntu-latest steps: - name: Checkout application code uses: actions/checkout@v2 - with: - path: wger - - - name: Checkout flathub repo - uses: actions/checkout@v3 - with: - repository: wger-project/test - path: flathub - name: Setup Java uses: actions/setup-java@v1 @@ -102,14 +90,15 @@ jobs: cd flatpak/scripts dart pub get dart manifest_generator.dart --meta ../flatpak_meta.json --github - cp flatpak_generator_exports/de.wger.flutter.json ../../../flathub + mkdir /tmp/flathub + cp flatpak_generator_exports/de.wger.flutter.json /tmp/flathub - - name: Push config to flathub repository + - name: Push updated config to flathub repository uses: cpina/github-action-push-to-another-repository@main env: SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} with: - source-directory: flathub + source-directory: /tmp/flathub destination-github-username: wger-project destination-repository-name: de.wger.flutter user-email: github-actions@github.com