-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 931 Bytes
/
Copy pathbuild-vim.yml
File metadata and controls
33 lines (31 loc) · 931 Bytes
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
name: Build Vim
on:
schedule: [cron: "59 23 * * Sun"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
include:
- arch: amd64
os: ubuntu-latest
- arch: arm64
os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- name: Build vim
run: |
mkdir -p out
cat build-vim.sh | docker run --rm -i \
-v "${{ github.workspace }}/out":/out \
alpine sh
echo "VIM_VERSION=$(./out/vim --version | head -1 | cut -d'(' -f1 | awk '{print $NF}')" >> $GITHUB_ENV
mv ./out/vim ./out/vim-${{ matrix.arch }}
- uses: ncipollo/release-action@v1
with:
name: Tiny Vim ${{ env.VIM_VERSION }}
tag: ${{ env.VIM_VERSION }}
artifacts: out/vim-${{ matrix.arch }}
allowUpdates: true
omitBodyDuringUpdate: true