Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Added new build action
Browse files Browse the repository at this point in the history
  • Loading branch information
hedger committed Apr 19, 2023
1 parent e68e090 commit a54bc98
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
name: Build main

on:
push:
branches:
- main

name: "FAP: Build for multiple SDK sources"
on: [push, pull_request]
jobs:
build_dev:
ufbt-build-action:
runs-on: ubuntu-latest

strategy:
matrix:
include:
- name: Dev channel
sdk-channel: dev
- name: Release channel
sdk-channel: release
- name: Unleashed Dev
sdk-index-url: https://up.unleashedflip.com/directory.json
sdk-channel: dev
- name: Unleashed Release
sdk-index-url: https://up.unleashedflip.com/directory.json
sdk-channel: release
name: 'ufbt: Build for ${{ matrix.name }}'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build
uses: oleksiikutuzov/flipperzero-ufbt-action@v2
- name: Build with ufbt
uses: flipperdevices/[email protected]
id: build-app
with:
channel: release
sdk-channel: ${{ matrix.sdk-channel }}
sdk-index-url: ${{ matrix.sdk-index-url }}
- name: Upload app artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
path: ${{ steps.build-app.outputs.fap-artifacts }}

0 comments on commit a54bc98

Please sign in to comment.