autofire upd

This commit is contained in:
RogueMaster
2022-11-25 03:14:30 -05:00
parent 8b3a80a1ae
commit 030c8518d4
4 changed files with 60 additions and 9 deletions

View File

@@ -0,0 +1,32 @@
name: Build
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build application
steps:
- name: Cache toolchain
uses: actions/cache@v3
id: toolchain-cache
with:
path: ./firmware
key: firmware
- name: Checkout firmware
if: steps.toolchain-cache.outputs.cache-hit != 'true'
run: git clone https://github.com/flipperdevices/flipperzero-firmware.git --recursive --depth 1 firmware
- name: Install toolchain
if: steps.toolchain-cache.outputs.cache-hit != 'true'
run: cd firmware && ./fbt
- name: Checkout application
uses: actions/checkout@v3
with:
path: firmware/applications_user/usb_hid_autofire
- name: Build application
run: cd firmware && ./fbt fap_usb_hid_autofire