mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-22 07:13:13 +01:00
CI: Install fontforge with Nix
And cache the nix store.
This commit is contained in:
parent
67487d0ef0
commit
ed2dea9630
17
.github/workflows/make-apk.yml
vendored
17
.github/workflows/make-apk.yml
vendored
@ -7,14 +7,19 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build-Apk:
|
Build-Apk:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install nix
|
||||||
|
uses: cachix/install-nix-action@v15
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
- name: Cache Nix store
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: /nix
|
||||||
|
key: nix-store
|
||||||
- name: Install external dependencies
|
- name: Install external dependencies
|
||||||
run: |
|
run: nix-env -f '<nixpkgs>' -i fontforge
|
||||||
# Dirty: Get a more recent version of fontforge
|
|
||||||
sudo sed -i 's/focal/impish/g' /etc/apt/sources.list
|
|
||||||
sudo apt-get update -y
|
|
||||||
sudo apt-get install -y fontforge
|
|
||||||
- uses: actions/setup-java@v2
|
- uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu' # See 'Supported distributions' for available options
|
distribution: 'zulu' # See 'Supported distributions' for available options
|
||||||
|
Loading…
Reference in New Issue
Block a user