-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (43 loc) · 1.06 KB
/
release.yaml
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
42
43
44
45
46
47
48
49
50
51
name: Create Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install cross-compiler
run: sudo apt install gcc-mingw-w64-x86-64
- name: Install V
run: |
git clone --depth=1 https://github.com/vlang/v
cd v
make
sudo ./v symlink
v up
- name: Build the project
run: v run build.vsh
- name: Generate changelog
uses: orhun/git-cliff-action@v3
with:
args: --verbose
env:
OUTPUT: CHANGELOG.md
GITHUB_REPO: ${{ github.repository }}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref_name }}
body_path: CHANGELOG.md
draft: false
prerelease: false
files: |
rr-dl.exe
rr-dl_linux_amd64
CHANGELOG.md