-
Notifications
You must be signed in to change notification settings - Fork 484
57 lines (44 loc) · 1.26 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
55
56
57
name: Release firmwares
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
build:
name: Build firmwares
uses: ./.github/workflows/build.yml
deploy:
name: Deploy firmwares
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Archive Keyball39 firmwares
uses: ./.github/actions/release-archive
with: { name: keyball39 }
- name: Archive Keyball44 firmwares
uses: ./.github/actions/release-archive
with: { name: keyball44 }
- name: Archive Keyball61 firmwares
uses: ./.github/actions/release-archive
with: { name: keyball61 }
- name: Archive Keyball46 firmwares
uses: ./.github/actions/release-archive
with: { name: keyball46 }
- name: Archive One47 firmwares
uses: ./.github/actions/release-archive
with: { name: one47 }
- name: List archives
run: ls -l *.zip
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
prerelease: ${{ contains(github.ref_name, '-alpha.') || contains(github.ref_name, '-beta.') }}
files: |
*.zip
fail_on_unmatched_files: true
generate_release_notes: true
append_body: true