Skip to content

Commit

Permalink
Update fdroid.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke authored Dec 13, 2024
1 parent d38e57a commit f55f739
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/fdroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ jobs:
run: |
sudo apt install git-restore-mtime
git restore-mtime
- name: Install F-Droid server software
run: |
sudo add-apt-repository ppa:fdroid/fdroidserver
sudo apt-get update
# sudo apt-get install fdroidserver
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -39,24 +37,22 @@ jobs:
python -m pip install --upgrade pip
python -m pip install virtualenv
python -m pip install androguard
python -m pip install gitpython
- name: Set up virtual environment and install fdroidserver
run: |
python -m venv fdroidserver-env
source fdroidserver-env/bin/activate
pip install git+https://gitlab.com/fdroid/fdroidserver.git
- name: Add fdroid to PATH
run: echo "$(python -c 'import os, site; print(os.path.dirname(site.getsitepackages()[0]))')/bin" >> $GITHUB_PATH

- name: Verify fdroid installation
run: |
source fdroidserver-env/bin/activate
fdroid --version
- name: Set up repo secrets
run: |
echo "${{ secrets.KEYSTORE_P12 }}" | base64 -d - > fdroid/keystore.p12
echo "${{ secrets.CONFIG_YML }}" | base64 -d - > fdroid/config.yml
- uses: actions/setup-go@v2
name: Set up Go
with:
Expand Down

0 comments on commit f55f739

Please sign in to comment.