Skip to content

Commit

Permalink
ci: disable for not FW apps
Browse files Browse the repository at this point in the history
  • Loading branch information
derskythe committed Sep 16, 2023
1 parent f7ec700 commit 9dafee0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-with-firmwware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
build-and-upload:
runs-on: ubuntu-latest
env:
FAP_INCLUDED_IN_FW: 0
REPO_SELF: ${{ vars.REPO_SELF }}
OFW_PATH: "applications_user/${{ vars.FAP_NAME }}"
RELATIVE_PATH: "applications/external/${{ vars.FAP_NAME }}"
Expand Down Expand Up @@ -80,8 +81,10 @@ jobs:
shell: pwsh
run: |
git log --pretty=format:'%s by %C(yellow)%an%Creset (%ad)%n %n%b' --date=local --abbrev-commit --max-count=1
git submodule set-branch --branch master '${{ env.RELATIVE_PATH }}'
git submodule sync '${{ env.RELATIVE_PATH }}'
if( ${{ env.FAP_INCLUDED_IN_FW }} -eq 1 ) {
git submodule set-branch --branch master '${{ env.RELATIVE_PATH }}'
git submodule sync '${{ env.RELATIVE_PATH }}'
}
cd '${{ env.OFW_PATH }}'
if ( '${{ env.CURRENT_VERSION }}' -ne '${{ env.RELEASE_VERSION }}' ) {
Write-Output '::warning title=Different version::Current version is ${{ env.CURRENT_VERSION }} but we trying to build ${{ env.RELEASE_VERSION }}'
Expand Down
6 changes: 3 additions & 3 deletions application.fam
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
App(
appid="ShapShup",
appid="shapshup",
name="ShapShup",
apptype=FlipperAppType.EXTERNAL,
entry_point="shapshup_app",
cdefines=["APP_SHAPSHUP"],
requires=["gui", "dialogs"],
stack_size=2 * 1024,
order=1,
order=13,
fap_icon="images/shapshup_10px.png",
fap_category="Tools",
fap_category="Sub-GHz",
fap_icon_assets="images",
)

0 comments on commit 9dafee0

Please sign in to comment.