Skip to content

Commit

Permalink
set name in release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhilker98 authored Nov 1, 2023
1 parent d7ae73e commit 7745942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
uses: cachix/install-nix-action@v22
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: Expose git commit data
Expand All @@ -35,3 +35,4 @@ jobs:
commit: ${{ github.event.head_commit.id }}
tag: ${{ env.SHORT_SHA }}
token: ${{ secrets.GITHUB_TOKEN }}
name: "Josevka-v${{ env.SHORT_SHA }}"

0 comments on commit 7745942

Please sign in to comment.