Skip to content

Commit

Permalink
Add GitHub Action Flipper Zero Build
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanFuentealba committed Apr 6, 2023
1 parent 32d081a commit 04e0332
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/flipperZeroAction.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Flipper Zero CI

on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Clone ufbt
run: |
git config --global url.https://github.com/.insteadOf git://github.com/
git clone https://github.com/flipperdevices/flipperzero-ufbt.git ../ufbt
- name: Ufbt Build App
run: |
../ufbt/ufbt "fap_$(grep -o 'appid="[a-zA-Z0-9]\+"' application.fam | awk -F '"' '{print $2}')"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
../ufbt/.ufbt/build/**/*.fap

0 comments on commit 04e0332

Please sign in to comment.