Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Update F-Droid repository

Check failure on line 1 in .github/workflows/fdroid.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/fdroid.yml

Invalid workflow file

`worflow_dispatch` is not a valid event name
on:
push:
branches: [main]
worflow_dispatch:
jobs:
apps:
name: Update F-Droid repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create directory structure
run: mkdir -p fdroid/repo
- name: Restore mtime
run: |
sudo apt install git-restore-mtime
git restore-mtime
- name: Install F-Droid server
run: |
sudo add-apt-repository ppa:fdroid/fdroidserver
sudo apt-get update
sudo apt-get install fdroidserver
- name: Setup up keystore
run: |
echo "${{ secrets.KEYSTORE_P12 }}" | base64 -d - > fdroid/keystore.p12
echo "keystorepass: ${{ secrets.KEYSTORE_PASS }}" >> fdroid/config.yml
echo "keypass: ${{ secrets.KEY_PASS }}" >> fdroid/config.yml
- name: Run lint
run: fdroid lint
working-directory: ./fdroid
- name: Run update
run: fdroid update
working-directory: ./fdroid