Skip to content

Commit 0150732

Browse files
committed
CI updates
1 parent 9734eac commit 0150732

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches:
66
- main
77
- develop
8-
tags:
9-
- 'v[0-9]+.[0-9]+.[0-9]+'
108

119
env:
1210
firmware_version: '0.78.1'
@@ -22,9 +20,9 @@ jobs:
2220
repository: 'flipperdevices/flipperzero-firmware'
2321
ref: ${{ env.firmware_version }}
2422
submodules: true
25-
- name: Checkout
23+
- name: Checkout FlipBIP
2624
uses: actions/checkout@v3
2725
with:
2826
path: 'applications_user/FlipBIP'
29-
- name: Build
27+
- name: Build FAPs
3028
run: ./fbt COMPACT=1 DEBUG=0 faps

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
8+
env:
9+
firmware_version: '0.78.1'
10+
11+
jobs:
12+
build:
13+
name: Build
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout Flipper Zero Firmware
17+
uses: actions/checkout@v3
18+
with:
19+
repository: 'flipperdevices/flipperzero-firmware'
20+
ref: ${{ env.firmware_version }}
21+
submodules: true
22+
- name: Checkout FlipBIP
23+
uses: actions/checkout@v3
24+
with:
25+
path: 'applications_user/FlipBIP'
26+
- name: Build FAPs
27+
run: ./fbt COMPACT=1 DEBUG=0 faps
28+
- name: Get tag
29+
id: tag
30+
uses: dawidd6/action-get-tag@v1
31+
with:
32+
strip_v: false
33+
- name: Publish FlipBIP
34+
uses: softprops/action-gh-release@v1
35+
with:
36+
files: |
37+
build/f7-firmware-C/.extapps/FlipBIP.fap
38+
applications_user/FlipBIP/README.md
39+
name: ${{steps.tag.outputs.tag}}
40+
body: Built against Flipper Zero firmware v${{ env.firmware_version }}
41+
generate_release_notes: true
42+
fail_on_unmatched_files: true

0 commit comments

Comments
 (0)