mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-12 09:41:47 +02:00
Revert "DEBUG: "commits
[why] The commits needed to be in the master branch, but that is protected, so we can not force push the commits away after debugging. Revert "DEBUG: Show directory contents" Revert "DEBUG: archive-fonts.sh" Revert "DEBUG: Add more of original workflow" This reverts commit40f6990282
. This reverts commit9e3fdefeba
. This reverts commit5e8b8c6ed5
. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
8a749ab210
commit
28dd7f2679
2 changed files with 1 additions and 91 deletions
90
.github/workflows/test.yml
vendored
90
.github/workflows/test.yml
vendored
|
@ -1,90 +0,0 @@
|
|||
# triggers a release or a release candidate based on the version defined in package.json
|
||||
|
||||
name: Archive JetBrains Mono
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup core dependencies
|
||||
run: |
|
||||
sudo apt update -y -q
|
||||
sudo apt install software-properties-common -y -q
|
||||
sudo apt install python3-fontforge -y -q
|
||||
sudo apt install fuse -y -q
|
||||
|
||||
- name: Fetch FontForge
|
||||
run: |
|
||||
curl -L "https://github.com/fontforge/fontforge/releases/download/20230101/FontForge-2023-01-01-a1dad3e-x86_64.AppImage" \
|
||||
--output fontforge
|
||||
chmod u+x fontforge
|
||||
echo Try appimage
|
||||
./fontforge --version
|
||||
export PATH=`pwd`:$PATH
|
||||
echo "PATH=$PATH" >> $GITHUB_ENV
|
||||
echo Try appimage with path
|
||||
fontforge --version
|
||||
|
||||
# It is unclear what this has been needed for
|
||||
- name: Setup additional dependencies
|
||||
if: false
|
||||
run: |
|
||||
pip install fonttools --quiet
|
||||
|
||||
# It is unclear what this has been needed for
|
||||
- name: Build FreeType from source
|
||||
if: false
|
||||
run: |
|
||||
wget http://downloads.sourceforge.net/project/freetype/freetype2/2.7/freetype-2.7.tar.gz --quiet
|
||||
tar -zxf freetype-2.7.tar.gz
|
||||
cd freetype-2.7
|
||||
./configure
|
||||
make --quiet
|
||||
sudo make install --quiet
|
||||
|
||||
# It is unclear what this has been needed for
|
||||
- name: Build Harfbuzz from source
|
||||
if: false
|
||||
run: |
|
||||
wget http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.3.4.tar.bz2 --quiet
|
||||
tar -xjf harfbuzz-1.3.4.tar.bz2
|
||||
cd harfbuzz-1.3.4
|
||||
./configure
|
||||
make --quiet
|
||||
sudo make install --quiet
|
||||
|
||||
- name: Verify setup
|
||||
run: |
|
||||
fontforge --version
|
||||
fontforge --version 2>&1 | grep libfontforge | awk '{print $NF}'
|
||||
|
||||
- name: Bump version for source files
|
||||
run: |
|
||||
cd -- "$GITHUB_WORKSPACE/bin/scripts"
|
||||
./version-bump.sh "$RELEASE_VERSION"
|
||||
|
||||
- name: Standardize the readme files
|
||||
run: |
|
||||
cd -- "$GITHUB_WORKSPACE/bin/scripts"
|
||||
./standardize-and-complete-readmes.sh "JetBrainsMono"
|
||||
|
||||
- name: Patch all the variations of the font family
|
||||
run: |
|
||||
cd -- "$GITHUB_WORKSPACE/bin/scripts"
|
||||
fontforge --script `pwd`/../../font-patcher --version
|
||||
./gotta-patch-em-all-font-patcher\!.sh -j "/JetBrainsMono"
|
||||
|
||||
- name: Archive font package zip files
|
||||
run: |
|
||||
cd -- "$GITHUB_WORKSPACE/bin/scripts"
|
||||
ls -lR ../../patched-fonts/JetBrainsMono
|
||||
./archive-fonts.sh "JetBrainsMono"
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
# to generate ruby cask files for homebrew-fonts (https://github.com/caskroom/homebrew-fonts)
|
||||
# adds Windows versions of the fonts as well (casks files just won't download them)
|
||||
# used for debugging
|
||||
set -x
|
||||
# set -x
|
||||
# Example run with pattern matching:
|
||||
# ./archive-fonts heavydata
|
||||
# Example with same font names for different paths
|
||||
|
|
Loading…
Reference in a new issue