Skip to content

chore: fix Noto Emoji font to v2.042 #11

chore: fix Noto Emoji font to v2.042

chore: fix Noto Emoji font to v2.042 #11

Workflow file for this run

name: build
on:
push:
branches:
- main
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup prerequisites
run: |
sudo apt-get update
- name: Build
run: |
make all
# - name: Run tests
# env:
# MN_PDF_FONT_PATH: ~/.fonts
# run: |
# make test
- uses: actions/upload-artifact@v3
if: startsWith(github.ref, 'refs/tags/v')
with:
name: noto-fonts
path: |
noto-fonts-latn.zip
noto-fonts-cjk-vf.zip
noto-fonts-cjk-static.zip
retention-days: 1
release:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: noto-fonts
- name: Display structure of downloaded files
run: ls -R
- name: Get Version
id: get_version
run: |
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
- name: Rename artifact
run: |
mv noto-fonts-latn.zip noto-fonts-latn-${{ steps.get_version.outputs.VERSION }}.zip
mv noto-fonts-cjk-static.zip noto-fonts-cjk-static-${{ steps.get_version.outputs.VERSION }}.zip
mv noto-fonts-cjk-vf.zip noto-fonts-cjk-vf-${{ steps.get_version.outputs.VERSION }}.zip
- name: Upload Release Asset
id: upload-release-asset
uses: softprops/action-gh-release@v1
with:
body: Automatic release of ${{ github.ref }}
files: |
*.zip