Skip to content

Update fapping.yml

Update fapping.yml #19

Workflow file for this run

name: Build and Release FAP
on:
push:
branches:
- main # Adjust this to your preference, e.g., releases/*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install git-lfs
run: |
sudo apt install git-lfs
git lfs install
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Ensure tags are fetched
lfs: true # Make sure to add this line to ensure LFS files are correctly pulled
- name: ls
run: |
ls
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11' # Set up the Python version
- name: Build Flipper Application Package (.fap)
uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
- name: Create Tag and Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, no need to create your own
with:
tag_name: ${{ github.ref }}-fap # or any other tag format you prefer
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- 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 }}