Skip to content

Commit 292f31f

Browse files
committed
add repo update ci
1 parent 8a97322 commit 292f31f

21 files changed

+414
-1
lines changed

.github/workflows/update.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Fdroid Repo Update
2+
3+
on:
4+
push:
5+
branches:
6+
- fdroid-repo
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
# Step 1: Checkout the main branch
14+
- name: Checkout Main Branch
15+
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
19+
# Step 2: Setup Java with version 17.x
20+
- name: Setup Java
21+
uses: actions/setup-java@v1
22+
with:
23+
java-version: "17.x"
24+
25+
# Step 3: Setup F-Droid (install fdroidserver) and update the repo
26+
- name: Fdroid Install
27+
uses: subosito/flutter-action@v1
28+
- name: Run F-Droid Update
29+
env:
30+
FDROID_CONFIG_YML_B64: ${{ secrets.FDROID_CONFIG_YML }}
31+
FDROID_KEYSTORE_P12_B64: ${{ secrets.FDROID_KEYSTORE_P12 }}
32+
run: |
33+
# Decode the secrets into files
34+
echo $FDROID_CONFIG_YML_B64 | base64 --decode > config.yml
35+
echo $FDROID_KEYSTORE_P12_B64 | base64 --decode > keystore.p12
36+
37+
# Install fdroidserver
38+
sudo apt-get update
39+
sudo apt-get install -y fdroidserver
40+
41+
# Run the update command, referencing the files
42+
fdroid update -c
43+
44+
# Step 4: Push the updated repo files with amended commit
45+
- name: Push F-Droid updates
46+
run: |
47+
git add .
48+
git commit --amend -m "chore:${{ github.run_number }} update F-Droid metadata"
49+
git push origin fdroid-repo --force

.gitignore

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,63 @@
11
config.yml
2-
keystore.p12
2+
keystore.p12
3+
4+
# Miscellaneous
5+
*.class
6+
*.log
7+
*.pyc
8+
*.swp
9+
.DS_Store
10+
.atom/
11+
.buildlog/
12+
.history
13+
.svn/
14+
**/.cxx/
15+
16+
# IntelliJ related
17+
*.iml
18+
*.ipr
19+
*.iws
20+
.idea/
21+
22+
# The .vscode folder contains launch configuration and tasks you configure in
23+
# VS Code which you may wish to be included in version control, so this line
24+
# is commented out by default.
25+
#.vscode/
26+
27+
# Flutter/Dart/Pub related
28+
**/doc/api/
29+
**/ios/Flutter/.last_build_id
30+
.dart_tool/
31+
.flutter-plugins
32+
.flutter-plugins-dependencies
33+
.packages
34+
.pub-cache/
35+
.pub/
36+
/build/
37+
38+
# Web related
39+
lib/generated_plugin_registrant.dart
40+
41+
# Symbolication related
42+
app.*.symbols
43+
44+
# Obfuscation related
45+
app.*.map.json
46+
47+
# Android Studio will place build artifacts here
48+
/android/app/debug
49+
/android/app/profile
50+
/android/app/release
51+
52+
# FVM Version Cache
53+
.fvm/
54+
55+
# Platform specific directories
56+
# this branch does not require these files
57+
58+
/ios
59+
/linux
60+
/macos
61+
/windows
62+
/android
63+
/tmp

icons/icon.png

3.55 KB
Loading

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
goto /repo
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
AuthorName: 'CCExtractor Development'
2+
Categories:
3+
- taskwarrior-flutter
4+
CurrentVersionCode: 2147483647
5+
IssueTracker: 'https://github.com/CCExtractor/taskwarrior-flutter/issues'
6+
Name: Taskwarrior Nightly
7+
SourceCode: 'https://github.com/CCExtractor/taskwarrior-flutter'
8+
Summary: 'Taskwarrior is Free and Open Source Software that manages your TODO list from the command line. It is flexible, fast, and unobtrusive. It does its job then gets out of your way. The CLI tool and other relevant documentation can be found at Taskwarrior. This project aims to build an app for Taskwarrior. It is your task management app across all platforms. It helps you manage your tasks and filter them as per your needs.'
9+
WebSite: 'https://github.com/CCExtractor/taskwarrior-flutter'

repo/categories.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Productivity
2+
Task Management
3+
taskwarrior-flutter

repo/entry.jar

2.7 KB
Binary file not shown.

repo/entry.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"timestamp": 1756139251000, "version": 20002, "index": {"name": "/index-v2.json", "sha256": "825cd7725719a4a32cae38a5e09034209f88aec7c9f45d9625a71ec4c38443b8", "size": 3151, "numPackages": 1}, "diffs": {}}

repo/icons/icon.png

833 Bytes
Loading

repo/index-v1.jar

3.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)