Skip to content

Commit

Permalink
Test modules are not needed for building apks, fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Sep 30, 2023
1 parent 956bf10 commit 5902f7f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,6 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: ${{ runner.os }}-gradle-

- name: Cache test modules
id: cache-test-modules
uses: actions/cache@v3
with:
path: ~/.sword
key: ${{ runner.os }}-test-modules # cache auto-removes if not accessed in 7 days. If data needs to refresh, change key name here (till https://github.com/actions/cache/issues/2 is addressed)

- name: Download test modules if not cached
if: steps.cache-test-modules.outputs.cache-hit != 'true'
run: |
wget ${{ secrets.DOWNLOAD_TEST_MODULES_URL }} -O ./testmods.zip.enc
openssl enc -in ./testmods.zip.enc -out ./testmods.zip -d -aes-256-cbc -pbkdf2 -pass 'pass:${{ secrets.TEST_MODULE_ENCRYPTION_KEY }}'
mkdir -p $HOME/.sword
unzip -o -d $HOME/.sword ./testmods.zip
- name: Check/set alpha version suffix
if: contains(github.ref, 'refs/tags/alpha-')
run: |
Expand Down

0 comments on commit 5902f7f

Please sign in to comment.