purge java* #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- main | |
- feature/* | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
build-apk: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build APKs | |
run: | | |
sudo dpkg -l | grep java | |
which java | |
java -version | |
sudo apt-get purge java* | |
bash scripts/prepare-sdk.sh | |
which java | |
java -version | |
bash scripts/build-apks.sh | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nzbget-apks | |
path: build/*.apk | |
retention-days: 10 |