Skip to content

Commit

Permalink
CI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
xtruan committed Mar 13, 2023
1 parent 9734eac commit 0150732
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main
- develop
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

env:
firmware_version: '0.78.1'
Expand All @@ -22,9 +20,9 @@ jobs:
repository: 'flipperdevices/flipperzero-firmware'
ref: ${{ env.firmware_version }}
submodules: true
- name: Checkout
- name: Checkout FlipBIP
uses: actions/checkout@v3
with:
path: 'applications_user/FlipBIP'
- name: Build
- name: Build FAPs
run: ./fbt COMPACT=1 DEBUG=0 faps
42 changes: 42 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

env:
firmware_version: '0.78.1'

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Flipper Zero Firmware
uses: actions/checkout@v3
with:
repository: 'flipperdevices/flipperzero-firmware'
ref: ${{ env.firmware_version }}
submodules: true
- name: Checkout FlipBIP
uses: actions/checkout@v3
with:
path: 'applications_user/FlipBIP'
- name: Build FAPs
run: ./fbt COMPACT=1 DEBUG=0 faps
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: false
- name: Publish FlipBIP
uses: softprops/action-gh-release@v1
with:
files: |
build/f7-firmware-C/.extapps/FlipBIP.fap
applications_user/FlipBIP/README.md
name: ${{steps.tag.outputs.tag}}
body: Built against Flipper Zero firmware v${{ env.firmware_version }}
generate_release_notes: true
fail_on_unmatched_files: true

0 comments on commit 0150732

Please sign in to comment.