Kaynağa Gözat

Update main.yml

Luu 1 yıl önce
ebeveyn
işleme
4482fbbc31
1 değiştirilmiş dosya ile 3 ekleme ve 49 silme
  1. 3 49
      .github/workflows/main.yml

+ 3 - 49
.github/workflows/main.yml

@@ -1,49 +1,3 @@
-name: Validate Manifest
-
-on:
-  push:
-    branches:
-      - main
-  pull_request:
-    branches:
-      - main
-
-jobs:
-  validate:
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: Checkout Repository
-        uses: actions/checkout@v2
-
-      - name: Set up Python 3.x
-        uses: actions/setup-python@v2
-        with:
-          python-version: '3.x'
-
-      - name: Install dependencies
-        run: |
-          python3 -m venv venv
-          source venv/bin/activate
-          pip install --upgrade pip
-          pip install -r https://raw.githubusercontent.com/flipperdevices/flipper-application-catalog/main/tools/requirements.txt
-
-      - name: Install UFBT SDK
-        run: |
-          source venv/bin/activate
-          git clone https://github.com/flipperdevices/ufbt.git venv/ufbt
-          export UFBT_HOME=`realpath venv/ufbt`
-          $UFBT_HOME/ufbt update
-
-      - name: Download bundle.py
-        run: |
-          curl -o bundle.py https://raw.githubusercontent.com/flipperdevices/flipper-application-catalog/main/tools/bundle.py
-
-      - name: Run manifest validation
-        run: |
-          source venv/bin/activate
-          python3 bundle.py --nolint manifest.yml bundle.zip
-
-      - name: Clean up
-        run: |
-          rm -rf venv bundle.py
+- name: Build Flipper Application Package (.fap)
+  uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
+