-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.13 KB
/
build-brew-recipes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build Homebrew formulas (Ubuntu-20)
on:
workflow_dispatch:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
name: Build on ${{ matrix.distro }} ${{ matrix.arch }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create Brew Recipes
run: |
VRS=`grep meVER microemacs/src/evers.mak | grep -oE '[0-9]+' | sed -E 's/^([0-9])$/0\1/' | paste -sd ''`
echo "VRS=$VRS" >> $GITHUB_ENV
echo $VRS
cd microemacs/brew
mkdir recipes
make tpl2rb version=${VRS}
cp *.rb recipes
cd ..
- name: Create Readme folder
run: |
make -f microemacs/brew/Makefile readme
- name: Upload linux downloads
uses: actions/upload-artifact@v4
with:
name: Jasspa_MicroEmacs_${{ env.VRS }}-formula-downloads
path: microemacs/brew/recipes
- name: Upload Readme archive
uses: actions/upload-artifact@v4
with:
name: Jasspa_MicroEmacs_${{ env.VRS }}_readme
path: Jasspa_MicroEmacs_${{ env.VRS }}_readme