From 1b0a6feae6da1f5e6d086d955af9c318d6bc6a38 Mon Sep 17 00:00:00 2001 From: hedger Date: Tue, 8 Aug 2023 02:54:12 +0300 Subject: [PATCH] Moved example manifest from test folder (#103) --- .github/workflows/bundle.yml | 4 ++-- .github/workflows/selftest.yml | 30 ------------------------------ example/manifest.yml | 26 ++++++++++++++++++++++++++ test/manifest.yml | 14 -------------- 4 files changed, 28 insertions(+), 46 deletions(-) delete mode 100644 .github/workflows/selftest.yml create mode 100644 example/manifest.yml delete mode 100644 test/manifest.yml diff --git a/.github/workflows/bundle.yml b/.github/workflows/bundle.yml index ec75fb73..326fac5a 100644 --- a/.github/workflows/bundle.yml +++ b/.github/workflows/bundle.yml @@ -29,7 +29,7 @@ jobs: applications/**/manifest.yml files_ignore: | .github - test + example - name: JSONify changes id: set-json-output @@ -234,7 +234,7 @@ jobs: id: self-test uses: ./.github/actions/bundle with: - path: test/manifest.yml + path: example/manifest.yml - name: Create bundle artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/selftest.yml b/.github/workflows/selftest.yml deleted file mode 100644 index f8d47b18..00000000 --- a/.github/workflows/selftest.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Selftest - -on: - workflow_dispatch: - -jobs: - bundle_upload: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Build bundle - uses: ./.github/actions/bundle - with: - path: test/manifest.yml - - bundle_copy: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Build bundle - uses: ./.github/actions/bundle - with: - path: test/manifest.yml - bundle-output: app_bundle.zip diff --git a/example/manifest.yml b/example/manifest.yml new file mode 100644 index 00000000..62b8a5e8 --- /dev/null +++ b/example/manifest.yml @@ -0,0 +1,26 @@ +## This is a sample manifest file for the Flipper Zero app catalog. +## Create one for your app in a corresponding directory in the 'applications' folder. + +sourcecode: + type: git + location: + ## Specify the git URL of your repository here + origin: https://github.com/flipperdevices/flipperzero-catalog-sample-app.git + ## Put the fill commit SHA of the commit with the app's code you want to submit + commit_sha: a614af3979876fdc1e9f7d2f6c93b4c8f32b1d03 + ## If your app is located in a subdirectory of the repository, specify it here + # subdir: . +## If applicaion.fam contains 'fap_descriptiopn', it will be used as a short description +# short_description: A short app description. +## For description and changelog you can use limited markdown syntax. +## you can also specify a file from your app's repository as a source with @ +description: | + A long app description. + Very long. + Spanning multiple lines. +changelog: "@CHANGELOG.md" +## Unmodified screenshots from qFlipper +screenshots: + - screenshots/flp0.png + - screenshots/flp1.png + - screenshots/flp2.png diff --git a/test/manifest.yml b/test/manifest.yml deleted file mode 100644 index 3e5cdcda..00000000 --- a/test/manifest.yml +++ /dev/null @@ -1,14 +0,0 @@ -sourcecode: - type: git - location: - origin: https://github.com/flipperdevices/flipperzero-catalog-sample-app.git - commit_sha: 88ec216083eaa6625534cda24d14cfa0ffcf289a -short_description: A short app description. -description: | - A long app description. - Very long. -changelog: "@CHANGELOG.md" -screenshots: - - screenshots/flp0.png - - screenshots/flp1.png - - screenshots/flp2.png