mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-21 23:03:11 +01:00
More reliable CI without Nix
This commit is contained in:
parent
6db57500ee
commit
611f2c8111
23
.github/workflows/make-apk.yml
vendored
23
.github/workflows/make-apk.yml
vendored
@ -9,26 +9,21 @@ jobs:
|
|||||||
Build-Apk:
|
Build-Apk:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install nix
|
- name: Checkout repo
|
||||||
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
|
uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
distribution: 'zulu' # See 'Supported distributions' for available options
|
||||||
|
java-version: '11'
|
||||||
|
- name: Install fontforge
|
||||||
|
run: sudo apt-get install -y fontforge
|
||||||
- name: Cache debug certificate
|
- name: Cache debug certificate
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: _build/debug.keystore
|
path: _build/debug.keystore
|
||||||
key: debug-keystore
|
key: debug-keystore
|
||||||
- name: Run nix-shell and Make
|
- name: Build
|
||||||
uses: ZenithalHourlyRate/nix-shell-action@v4
|
run: make
|
||||||
with:
|
|
||||||
file: shell.nix
|
|
||||||
script: make
|
|
||||||
- name: Save debug apk
|
- name: Save debug apk
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user