Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Julio <[email protected]>
  • Loading branch information
rafifos authored Nov 5, 2024
1 parent bfc8c14 commit ba963ee
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
path: iosevka
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install ttfautohint
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ttfautohint
Expand All @@ -34,7 +32,6 @@ jobs:

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- name: Cache npm dependencies
Expand All @@ -46,16 +43,15 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci

- name: Build ${{ inputs.fontFamily }}
shell: bash
working-directory: iosevka
run: |
npm ci
npm run build -- contents::${{ inputs.fontFamily }}
run: npm run build -- contents::${{ inputs.fontFamily }}

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: ${{ inputs.fontFamily }}
path: iosevka/dist
path: dist/
include-hidden-files: true

0 comments on commit ba963ee

Please sign in to comment.