Update marauder companion to 0.7.1 #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "faps-build-and-lint" | |
on: [push, pull_request] | |
jobs: | |
ufbt-build-action: | |
runs-on: ubuntu-latest | |
if: startsWith(github.ref, 'refs/tags/') | |
name: 'ufbt: Build' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# below code was generated by copilot https://gist.github.com/eried/87c34bc6da020c1aa4db3316a94c25f4 | |
# build esp32cam_camera | |
- name: Build with ufbt esp32cam_camera | |
uses: flipperdevices/[email protected] | |
id: build-app-esp32cam_camera | |
with: | |
sdk-channel: release | |
app-dir: ./flipper_companion_apps/applications/external/esp32cam_camera/ | |
- name: Upload app artifacts esp32cam_camera | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_camera.outputs.suffix }} | |
path: ${{ steps.build-app-esp32cam_camera.outputs.fap-artifacts }} | |
# build esp32cam_marauder_companion | |
- name: Build with ufbt esp32cam_marauder_companion | |
uses: flipperdevices/[email protected] | |
id: build-app-esp32cam_marauder_companion | |
with: | |
sdk-channel: release | |
app-dir: ./flipper_companion_apps/applications/external/esp32cam_marauder_companion/ | |
- name: Upload app artifacts esp32cam_marauder_companion | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_marauder_companion.outputs.suffix }} | |
path: ${{ steps.build-app-esp32cam_marauder_companion.outputs.fap-artifacts }} | |
# build esp32cam_morseflasher | |
- name: Build with ufbt esp32cam_morseflasher | |
uses: flipperdevices/[email protected] | |
id: build-app-esp32cam_morseflasher | |
with: | |
sdk-channel: release | |
app-dir: ./flipper_companion_apps/applications/external/esp32cam_morseflasher/ | |
- name: Upload app artifacts esp32cam_morseflasher | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_morseflasher.outputs.suffix }} | |
path: ${{ steps.build-app-esp32cam_morseflasher.outputs.fap-artifacts }} | |
# build esp32cam_motion_detection | |
- name: Build with ufbt esp32cam_motion_detection | |
uses: flipperdevices/[email protected] | |
id: build-app-esp32cam_motion_detection | |
with: | |
sdk-channel: release | |
app-dir: ./flipper_companion_apps/applications/external/esp32cam_motion_detection/ | |
- name: Upload app artifacts esp32cam_motion_detection | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_motion_detection.outputs.suffix }} | |
path: ${{ steps.build-app-esp32cam_motion_detection.outputs.fap-artifacts }} | |
# build esp32cam_nannycam | |
- name: Build with ufbt esp32cam_nannycam | |
uses: flipperdevices/[email protected] | |
id: build-app-esp32cam_nannycam | |
with: | |
sdk-channel: release | |
app-dir: ./flipper_companion_apps/applications/external/esp32cam_nannycam/ | |
- name: Upload app artifacts esp32cam_nannycam | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_nannycam.outputs.suffix }} | |
path: ${{ steps.build-app-esp32cam_nannycam.outputs.fap-artifacts }} | |
# build esp32cam_qrcode | |
- name: Build with ufbt esp32cam_qrcode | |
uses: flipperdevices/[email protected] | |
id: build-app-esp32cam_qrcode | |
with: | |
sdk-channel: release | |
app-dir: ./flipper_companion_apps/applications/external/esp32cam_qrcode/ | |
- name: Upload app artifacts esp32cam_qrcode | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_qrcode.outputs.suffix }} | |
path: ${{ steps.build-app-esp32cam_qrcode.outputs.fap-artifacts }} | |
# release | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
generate_release_notes: true | |
prerelease: true | |
files: | | |
${{ steps.build-app-esp32cam_camera.outputs.fap-artifacts }} | |
${{ steps.build-app-esp32cam_marauder_companion.outputs.fap-artifacts }} | |
${{ steps.build-app-esp32cam_morseflasher.outputs.fap-artifacts }} | |
${{ steps.build-app-esp32cam_motion_detection.outputs.fap-artifacts }} | |
${{ steps.build-app-esp32cam_nannycam.outputs.fap-artifacts }} | |
${{ steps.build-app-esp32cam_qrcode.outputs.fap-artifacts }} |