Update pip and setuptools #77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build fonts | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build: | |
name: Make release | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux/archlinux:latest | |
steps: | |
- name: Update packages | |
run: | | |
pacman -Syyu --noconfirm | |
- name: Install dependencies | |
run: | | |
pacman -S --noconfirm base git tar which zip libffi jre17-openjdk wget | |
- name: Install python | |
run: | | |
pacman -S --noconfirm python python-pipenv python-setuptools | |
- name: Install fontforge | |
run: pacman -S --noconfirm fontforge | |
- uses: actions/checkout@v4 | |
- name: Build fonts | |
run: | | |
pipenv --python /bin/python run pip install --upgrade pip setuptools; pipenv --python /bin/python install; pipenv run python build.py fonts | |
- name: Save version | |
id: version | |
run: | | |
echo "version=${GITHUB_REF#refs/tags/}" | tr . - >> $GITHUB_OUTPUT | |
- name: Zip fonts | |
run: | | |
mv build CozetteFonts; cp ./LICENSE CozetteFonts/LICENSE; zip -r CozetteFonts-${{ steps.version.outputs.version }}.zip CozetteFonts | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "CozetteFonts-${{ steps.version.outputs.version }}.zip,CozetteFonts/*" | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: "See [CHANGELOG.md](https://github.com/slavfox/Cozette/blob/master/CHANGELOG.md)" |