diff options
| author | Raphael | 2022-02-13 18:42:41 -0500 |
|---|---|---|
| committer | GitHub | 2022-02-14 00:42:41 +0100 |
| commit | 4b1a6e4b92258986f9bfd86edf11b1ae2e0aa78e (patch) | |
| tree | e84f4f79c0c273c6be2451e176d148cdb29eac87 /.github | |
| parent | c05fdea76554a8e95a8c63f5bb72ca9e0003a382 (diff) | |
| download | unexpected-keyboard-4b1a6e4b92258986f9bfd86edf11b1ae2e0aa78e.tar.gz unexpected-keyboard-4b1a6e4b92258986f9bfd86edf11b1ae2e0aa78e.zip | |
Create github action to compile debug_APK (#60)
* Create github action to make debug apk
* Cache debug signing certificate
* Setup cachix
* Run on pull request
Co-authored-by: Jules Aguillon <jules@j3s.fr>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/make-apk.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/make-apk.yml b/.github/workflows/make-apk.yml new file mode 100644 index 0000000..2fe3534 --- /dev/null +++ b/.github/workflows/make-apk.yml @@ -0,0 +1,36 @@ +name: Make Apk CI + +on: + workflow_dispatch: + push: + pull_request: + +jobs: + Build-Apk: + runs-on: ubuntu-latest + steps: + - name: Install nix + uses: cachix/install-nix-action@v15 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: cachix/cachix-action@v10 + with: + name: julow + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - name: Checkout Repo + uses: actions/checkout@v2 + - name: Cache debug certificate + uses: actions/cache@v2 + with: + path: _build/debug.keystore + key: debug-keystore + - name: Run nix-shell and Make + uses: ZenithalHourlyRate/nix-shell-action@v4 + with: + file: shell.nix + script: make + - name: Save debug apk + uses: actions/upload-artifact@v2 + with: + name: debug apk + path: _build/*.apk |
