Skip to content

Commit

Permalink
added release for josevka-code
Browse files Browse the repository at this point in the history
This commit adds a release for josevka-code to the repository.
  • Loading branch information
jhilker98 committed Nov 1, 2023
1 parent 3a0450a commit 6882aa1
Show file tree
Hide file tree
Showing 3 changed files with 1,100 additions and 15 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ jobs:
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: "Build Josevka"
run: nix build -L .#josevka --cores 2

- name: Create Short Sha
run: echo "SHORT_SHA=`git rev-parse --short HEAD`" >> $GITHUB_ENV

- run: zip -9 josevka-v$SHORT_SHA.zip ./result/share/fonts/truetype/*.ttf
- 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: Expose git commit data
uses: rlespinasse/git-commit-data-action@v1
Expand All @@ -35,4 +41,4 @@ jobs:
commit: ${{ github.event.head_commit.id }}
tag: ${{ env.SHORT_SHA }}
token: ${{ secrets.GITHUB_TOKEN }}
name: "Josevka-v${{ env.SHORT_SHA }}"
name: "Josevka-${{ env.SHORT_SHA }}"
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@
privateBuildPlan = builtins.readFile ./utils/stylix/plans/josevka.toml;
set = "josevka-mono";
};
josevka-code = pkgs.iosevka.override {
privateBuildPlan = builtins.readFile ./utils/stylix/plans/josevka-code.toml;
set = "josevka-code";
};
};
});
}
Loading

0 comments on commit 6882aa1

Please sign in to comment.