File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 run : |
3838 sudo apt-get update
3939 sudo apt-get install ttfautohint libcairo2-dev python3-cairo-dev pkg-config python3-dev
40- sudo snap install yq
40+ # yq (mikefarah) is preinstalled on GitHub-hosted ubuntu runners; snap is flaky, so avoid it
4141 - uses : actions/cache@v5
4242 with :
4343 path : ./venv/
8484 path : |
8585 fonts
8686 out
87+ - name : Set short SHA
88+ if : ${{ github.ref_name == 'dev' && github.event_name == 'push' }}
89+ shell : bash
90+ run : echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
91+ - name : Archive dev-channel fonts for FontPipe
92+ if : ${{ github.ref_name == 'dev' && github.event_name == 'push' }}
93+ uses : actions/upload-artifact@v6
94+ with :
95+ name : dev-fonts-${{ env.SHORT_SHA }}
96+ path : fonts/**/*.ttf
97+ retention-days : 30
8798 outputs :
8899 zip_name : ${{ env.ZIP_NAME }}
89100
You can’t perform that action at this time.
0 commit comments