-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,25 +3,34 @@ on: [push, pull_request] | |
jobs: | ||
ufbt-build-action: | ||
runs-on: ubuntu-latest | ||
name: 'ufbt: Build for Dev branch' | ||
name: 'ufbt: Build for Release branch' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup ufbt | ||
uses: flipperdevices/[email protected] | ||
with: | ||
task: setup | ||
sdk-channel: release | ||
|
||
- name: Build with ufbt | ||
uses: flipperdevices/[email protected] | ||
id: build-app | ||
with: | ||
# Set to 'release' to build for latest published release version | ||
skip-setup: true | ||
sdk-channel: release | ||
|
||
- 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 }} | ||
# You can remove this step if you don't want to check source code formatting | ||
- name: Lint sources | ||
uses: flipperdevices/[email protected] | ||
with: | ||
# skip SDK setup, we already did it in previous step | ||
skip-setup: true | ||
task: lint | ||
|
||
# # You can remove this step if you don't want to check source code formatting | ||
# - name: Lint sources | ||
# uses: flipperdevices/[email protected] | ||
# with: | ||
# # skip SDK setup, we already did it in previous step | ||
# skip-setup: true | ||
# task: lint |