From e88f46c4a62cf892958109cfa331a3aac71da276 Mon Sep 17 00:00:00 2001 From: Ilya Vlasov Date: Wed, 21 Feb 2024 12:40:28 +0400 Subject: [PATCH] fix: add some forgotten steps --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c26d4b7..bd807d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -164,6 +164,21 @@ jobs: source .venv/bin/activate pip3 install . + - name: Download JetBrains Mono + run: | + curl -sLO https://github.com/JetBrains/JetBrainsMono/releases/download/v$JETBRAINS_MONO_VERSION/JetBrainsMono-$JETBRAINS_MONO_VERSION.zip + unzip JetBrainsMono-$JETBRAINS_MONO_VERSION.zip + + - name: Install JetBrains Mono on MacOS + if: matrix.os == 'macos-latest' + run: cp fonts/ttf/JetBrainsMono-Regular.ttf /Library/Fonts/ + + - name: Install JetBrains Mono on Linux + if: matrix.os == 'ubuntu-latest' + run: | + sudo cp fonts/ttf/JetBrainsMono-Regular.ttf /usr/local/share/fonts/ + fc-cache -f -v + - name: Generate Python Bot GIFs run: | source .venv/bin/activate