-
Notifications
You must be signed in to change notification settings - Fork 39
51 lines (43 loc) · 1.07 KB
/
release.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
42
43
44
45
46
47
48
49
50
51
name: Create Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build-standalone:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
GO_VERSION:
- 1.22.5
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.GO_VERSION }}
- name: APT Install
id: aptInstall
run: sudo apt-get -y install build-essential debhelper fakeroot
- name: Build Debian package
id: make_debian
run: |
make debian
- name: Create changelog text
id: changelog
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.ACTION_PAT }}
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "release/*"
body: ${{ steps.changelog.outputs.changes }}
draft: true
token: ${{ secrets.ACTION_PAT }}