Skip to content

Commit

Permalink
CI: Create a release job (for testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
fernzi committed Jun 7, 2024
1 parent bceff30 commit 25bd4fa
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
paths:
- 'etc/ci/*'
- 'src/*.toml'
tags-ignore:
- '!v[0-9]+**'

jobs:
build:
Expand All @@ -28,24 +30,34 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ttfautohint
- uses: actions/checkout@v4

- name: Fetch Submodules
run: git submodule update --init --recursive --depth 1

- name: Configure
run: etc/ci/configure

run: |
git submodule update --init --recursive --depth 1
- name: Setup
run: |
cat src/*.toml > lib/iosevka/private-build-plans.toml
cd lib/iosevka
npm install
- name: Build
run: etc/ci/build ${{ matrix.fontname }}

run: |
npm run build -- ttf::${{ matrix.fontname }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.fontname }}
path: lib/iosevka/dist/*

release:
name: Create Release
runs-on: ubuntu-latest
needs:
- build

steps:
- uses: actions/download-artifact@v4
- name: Inspect Artifacts
run: ls -lFR

0 comments on commit 25bd4fa

Please sign in to comment.