diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index e98545f..73479d4 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -14,10 +14,15 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + cache: 'pip' # caching pip dependencies - name: Build shell: pwsh - run: | + run: | $PSVersionTable "ErrorActionPreference: $ErrorActionPreference" + apt install fontforge + pip install -r requirements.txt ./build.ps1 \ No newline at end of file diff --git a/build.ps1 b/build.ps1 index cc43219..335e020 100644 --- a/build.ps1 +++ b/build.ps1 @@ -26,7 +26,6 @@ if ($fontPatcherAsset) { Expand-Archive -Path "$Env:TMP\FontPatcher.zip" -DestinationPath "$Env:TMP\FontPatcher" -Force Copy-Item ".\JetBrainsMono\fonts\otf\JetBrainsMono-Regular.otf" -Destination "$Env:TMP\FontPatcher\JetBrainsMono-Regular.otf" -Force -conda activate compile $old_pwd = Get-Location $old_pwd diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..54fddd1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +gftools +fonttools[woff] \ No newline at end of file