Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ankris812 authored Aug 9, 2024
1 parent f41c250 commit 1dc7526
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/push-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Compile and build FW

# Trigger the workflow on push or pull request on any branch
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
# Install common reqired packages: gcc, avr-libc, avrdude, python3, python3-pip
run: sudo apt-get install -y gcc-avr binutils-avr avr-libc avrdude python3 python3-pip zip
- name: Compile Prod (DEBUG=0, COMPACT=1)
run: ./fbt COMPACT=1 DEBUG=0 updater_package > log.txt
- name: Upload prod artifact (TAR)
uses: actions/upload-artifact@v2
with:
name: flipper-z-f7-update-Korai.tgz
path: dist/*/flipper-z-f7-update-Korai.tgz
- name: Upload log
uses: actions/upload-artifact@v2
with:
name: log.txt
path: log.txt

0 comments on commit 1dc7526

Please sign in to comment.