From f55f73970ff7e58bd0b0028352a39b41dfe309f1 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Fri, 13 Dec 2024 00:58:50 -0500 Subject: [PATCH] Update fdroid.yml --- .github/workflows/fdroid.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/fdroid.yml b/.github/workflows/fdroid.yml index ec81813e..970fdd19 100644 --- a/.github/workflows/fdroid.yml +++ b/.github/workflows/fdroid.yml @@ -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: @@ -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: