fixed f character in josevka-book.toml #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build Fonts" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- flake.nix | |
- utils/stylix/plans/*.toml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Install Nix" | |
uses: cachix/install-nix-action@v22 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Short Sha | |
run: echo "SHORT_SHA=`git rev-parse --short HEAD`" >> $GITHUB_ENV | |
- name: "Build Josevka" | |
run: | | |
nix build -L .#josevka --cores 2 | |
zip -9 josevka-$SHORT_SHA.zip ./result/share/fonts/truetype/*.ttf | |
- name: "Build Josevka Code" | |
run: | | |
nix build -L .#josevka-code --cores 2 | |
zip -9 josevka-code-$SHORT_SHA.zip ./result/share/fonts/truetype/*.ttf | |
- name: "Build Josevka Book" | |
run: | | |
nix build -L .#josevka-book-sans --cores 2 | |
zip -9 josevka-book-sans-$SHORT_SHA.zip ./result/share/fonts/truetype/*.ttf | |
nix build -L .#josevka-book-slab --cores 2 | |
zip -9 josevka-book-slab-$SHORT_SHA.zip ./result/share/fonts/truetype/*.ttf | |
- name: Expose git commit data | |
uses: rlespinasse/git-commit-data-action@v1 | |
- name: Release Fonts | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "*.zip" | |
body: ${{ env.GIT_COMMIT_MESSAGE_BODY }} | |
commit: ${{ github.event.head_commit.id }} | |
tag: ${{ env.SHORT_SHA }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: "Josevka-${{ env.SHORT_SHA }}" |