-
Notifications
You must be signed in to change notification settings - Fork 20
54 lines (42 loc) · 1.15 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
52
53
54
name: fb2converter release
on:
create:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Ubuntu version
run: lsb_release -a
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Build everything
run: task release
- name: Sign release artifacts
# After lunar this could be replaced with "apt install minisign"
uses: thomasdesr/minisign-action@v1
with:
args: -Sm release/fb2c-*.zip
minisign_key: ${{ secrets.minisign_key }}
password: ${{ secrets.minisign_password }}
- name: List results
run: ls -lah release/
- name: Upload release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |-
release/fb2c-*.zip
release/fb2c-*.minisig