Skip to content

Commit

Permalink
Don't checkout flathub repo
Browse files Browse the repository at this point in the history
(this wasn't even the flathub repo anyway, and the action checks it out on
its own anyway)
  • Loading branch information
rolandgeider committed Nov 18, 2023
1 parent 42b1807 commit ac99235
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: [email protected]
Expand Down

0 comments on commit ac99235

Please sign in to comment.