Skip to content

common.xsl updated, fixed meta data, metanorma/mn2pdf#269 #1611

common.xsl updated, fixed meta data, metanorma/mn2pdf#269

common.xsl updated, fixed meta data, metanorma/mn2pdf#269 #1611

Workflow file for this run

name: windows
on:
push:
branches:
- master
pull_request:
concurrency:
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
steps:
- run: choco install --no-progress grep gnuwin32-coreutils.install make curl unzip xsltproc
- uses: actions/checkout@v2
- run: make update-init update-modules
shell: pwsh
- name: Fix soft links
shell: pwsh
run: |
git ls-files -s xslt_src | grep "^12" | cut -f2 | % {
$linkPath = Resolve-Path -Path $_
If ((Get-Item $linkPath).length -gt 0kb) {
Write-Host "Restore symlink: $linkPath"
$targetFileName = Join-Path -Path $(Split-Path -Path $linkPath -Parent) -ChildPath $(Get-Content $linkPath -Raw)
Copy-Item $targetFileName -Destination $linkPath
}
}
- uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- uses: actions/cache@v2
with:
path: ~/.fontist
key: fontist-windows
restore-keys: fontist-windows
- name: Install Fontist fonts
run: |
gem install rake --force
gem install fontist
fontist update
fontist manifest-install --confirm-license fonts/manifest.yml
fontist manifest-locations fonts/manifest.yml > fonts/manifest.paths.yml
cat fonts/manifest.paths.yml
- run: |
& $env:MAKE all published
shell: pwsh
env:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}
MAKE: C:\ProgramData\chocolatey\bin\make.exe
- uses: actions/upload-artifact@master
with:
name: published-windows
path: published