Browse Source

Remove F-Droid nightly repo

pull/116/head
jld3103 2 years ago
parent
commit
a8e21a4577
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 58
      .github/workflows/fdroid-nightly.yaml
  2. 4
      packages/neon/README.md
  3. 2
      tool/update.sh

58
.github/workflows/fdroid-nightly.yaml

@ -1,58 +0,0 @@
name: Publish F-Droid nightly build
on:
push:
branches:
- main
jobs:
nightly:
name: Publish F-Droid nightly build
runs-on: ubuntu-22.04
environment: nightly
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.3.6'
channel: 'stable'
cache: true
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- name: Pub dependency cache
uses: actions/cache@v3
with:
path: $PUB_CACHE
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-pub-
- name: Gradle dependency cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build
run: |
cd packages/neon
flutter build apk --build-number="$(date +"%s")"
cp build/app/outputs/apk/release/app-release.apk app-debug.apk
- name: Upload
uses: wardvl/f-droid-nightly-action@v2.1
with:
debug_keystore: ${{ secrets.DEBUG_KEYSTORE }}
fdroid_nightly_args: -v --archive-older 10 --file app-debug.apk
- name: F-Droid repo permission clean-up # https://github.com/actions/cache/issues/753
run: sudo chown -R runner:docker fdroid

4
packages/neon/README.md

@ -3,8 +3,8 @@
A beautiful convergent cross-platform client for Nextcloud written in Flutter. A beautiful convergent cross-platform client for Nextcloud written in Flutter.
## Install ## Install
You can easily build it yourself or use the F-Droid Nightly repository at https://github.com/jld3103/nextcloud-neon-nightly which builds directly from the main branch. You can build it yourself from source now, automatic build pipelines are being set up right now.
The app will be published on F-Droid and the Google Playstore later. The app will be published on F-Droid and the Google Playstore later. See https://github.com/provokateurin/nextcloud-neon/issues/106 for the to-do list.
## Screenshots ## Screenshots

2
tool/update.sh

@ -10,8 +10,6 @@ if [[ "$1" == "flutter" ]]; then
dart_version_major="$(echo "$dart_version" | cut -d "." -f 1)" dart_version_major="$(echo "$dart_version" | cut -d "." -f 1)"
dart_version_minor="$(echo "$dart_version" | cut -d "." -f 2)" dart_version_minor="$(echo "$dart_version" | cut -d "." -f 2)"
dart_version_next_major=$(( dart_version_major + 1 )) dart_version_next_major=$(( dart_version_major + 1 ))
sed -i "s/flutter-version: '.*'/flutter-version: '$flutter_version'/" .github/workflows/fdroid-nightly.yaml
sed -i "s/channel: '.*'/channel: '$flutter_channel'/" .github/workflows/fdroid-nightly.yaml
find ./packages -name "pubspec.yaml" -exec sed -i "s/flutter: '>=.*'/flutter: '>=$flutter_version'/" {} \; find ./packages -name "pubspec.yaml" -exec sed -i "s/flutter: '>=.*'/flutter: '>=$flutter_version'/" {} \;
find ./packages -name "pubspec.yaml" -exec sed -i "s/sdk: '>=.* <.*'/sdk: '>=$dart_version_major.$dart_version_minor.0 <$dart_version_next_major.0.0'/" {} \; find ./packages -name "pubspec.yaml" -exec sed -i "s/sdk: '>=.* <.*'/sdk: '>=$dart_version_major.$dart_version_minor.0 <$dart_version_next_major.0.0'/" {} \;
fvm exec mono_repo pub get fvm exec mono_repo pub get

Loading…
Cancel
Save