Cody Tolene 2 лет назад
Родитель
Сommit
06110644ae
2 измененных файлов с 19 добавлено и 18 удалено
  1. 11 11
      .github/workflows/deploy-main.yml
  2. 8 7
      README.md

+ 11 - 11
.github/workflows/deploy-main.yml

@@ -1,23 +1,23 @@
 name: "Build + upload."
 name: "Build + upload."
 on:
 on:
-    push:
-      branches:
-          # Run on push to main.
-        - main
-    schedule:
-        # Run every day at 00:00 UTC (midnight)
-      - cron: "0 0 * * *"
+  push:
+    branches:
+      # Run on push to main.
+      - main
+  schedule:
+    # Run every day at 00:00 UTC (midnight)
+    - cron: "0 0 * * *"
 jobs:
 jobs:
   ufbt-build-action:
   ufbt-build-action:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     strategy:
     strategy:
       matrix:
       matrix:
         include:
         include:
-          - name: dev channel
+          - name: dev
             sdk-channel: dev
             sdk-channel: dev
-          - name: release channel
+          - name: release
             sdk-channel: release
             sdk-channel: release
-    name: 'ufbt: Build for ${{ matrix.name }}'
+    name: "ufbt: Build for ${{ matrix.name }}"
     steps:
     steps:
       - name: Checkout
       - name: Checkout
         uses: actions/checkout@v3
         uses: actions/checkout@v3
@@ -32,5 +32,5 @@ jobs:
       - name: Upload app artifacts
       - name: Upload app artifacts
         uses: actions/upload-artifact@v3
         uses: actions/upload-artifact@v3
         with:
         with:
-          name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
+          name: ${{ github.event.repository.name }}-${{ matrix.name }}-${{ steps.build-app.outputs.suffix }}.zip
           path: ${{ steps.build-app.outputs.fap-artifacts }}
           path: ${{ steps.build-app.outputs.fap-artifacts }}

+ 8 - 7
README.md

@@ -87,22 +87,23 @@ Note the upload may fail a few times, this is normal, try again. If it still fai
 ## Software Installation <a name="software-installation"></a>
 ## Software Installation <a name="software-installation"></a>
 
 
 1. Connect your Flipper Zero via USB, or insert your MicroSD.
 1. Connect your Flipper Zero via USB, or insert your MicroSD.
-2. Download "camerasuite.fap" from the release section.
-3. Move "camerasuite.fap" into `~\apps\gpio\` on your Flipper Zero MicroSD:
+2. Navigate to the GitHub actions: https://github.com/CodyTolene/Flipper-Zero-Camera-Suite/actions
+3. Open the most recent action and download the fap zip for either "dev" or "release" build versions of the Flipper Zero firmware.
+4. Move "camerasuite.fap" into `~\apps\gpio\` on your Flipper Zero MicroSD:
    ```
    ```
    .                            # The Flipper Zero MicroSD root.
    .                            # The Flipper Zero MicroSD root.
    ├── apps                     # The Flipper Zero Applications folder.
    ├── apps                     # The Flipper Zero Applications folder.
    |   ├── gpio                 # The Flipper Zero General Purpose Input/Output folder.
    |   ├── gpio                 # The Flipper Zero General Purpose Input/Output folder.
    |   |   ├── camerasuite.fap  # The Camera Suite application.
    |   |   ├── camerasuite.fap  # The Camera Suite application.
    ```
    ```
-4. Reinsert your MicroSD into your Flipper Zero if you took it out.
-5. Plug in your ESP32-CAM module to your Flipper Zero.
-6. Press the "Power" button on your Flipper Zero to turn it on.
-7. Open the application "[ESP32-CAM] Camera Suite":
+5. Reinsert your MicroSD into your Flipper Zero if you took it out.
+6. Plug in your ESP32-CAM module to your Flipper Zero.
+7. Press the "Power" button on your Flipper Zero to turn it on.
+8. Open the application "[ESP32-CAM] Camera Suite":
    ```
    ```
    Applications > GPIO > [ESP32-CAM] Camera Suite
    Applications > GPIO > [ESP32-CAM] Camera Suite
    ```
    ```
-8. That's it! Follow the on screen instructions to continue.
+9. That's it! Follow the on screen instructions to continue.
 
 
 <p align="right">[ <a href="#index">Back to top</a> ]</p>
 <p align="right">[ <a href="#index">Back to top</a> ]</p>