release master fontpatcher.zip

This commit is contained in:
bri 2023-01-09 14:55:47 -05:00 committed by Fini Jastrow
parent 0b04391b77
commit 27bfc9ad5a

View file

@ -0,0 +1,39 @@
name: Release font patcher from master
on:
create:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@v3
- name: Grab the script and its dependencies from the repo
run: |
#!/bin/sh
git clone \
--depth 1 \
--single-branch \
--quiet --progress \
--no-checkout \
https://oauth2:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}
cd nerd-fonts && git checkout HEAD src font-patcher
- run: rm -fR nerd-fonts/src/unpatched-fonts
- run: zip -r fontpatcher.zip nerd-fonts/*
- run: git config user.name "Github Actions" && git config user.email "actions@github.com"
working-directory: nerd-fonts
- working-directory: nerd-fonts
run: cp -f ../fontpatcher.zip . && git add fontpatcher.zip && git commit -m"Update fontpatcher.zip"
- uses: mxschmitt/action-tmate@v3