mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
release master fontpatcher.zip
This commit is contained in:
parent
0b04391b77
commit
27bfc9ad5a
1 changed files with 39 additions and 0 deletions
39
.github/workflows/release_master_fontpatcher-zip.yaml
vendored
Normal file
39
.github/workflows/release_master_fontpatcher-zip.yaml
vendored
Normal 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
|
||||||
|
|
Loading…
Reference in a new issue