Remove action "upload-artifacts" from build workflow (#626)

* rm upload artifacts to GitHub
* Skip lint_c if no source files were modified

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
rusdacent 2021-08-06 02:33:15 +03:00 committed by GitHub
parent ba399abb5d
commit eb83395cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -157,14 +157,6 @@ jobs:
>> artifacts/flipper-z-${TARGET}-full-${SUFFIX}.bin
done
- name: 'Publish artifacts'
uses: actions/upload-artifact@v2
with:
name: artifacts
path: artifacts/*
if-no-files-found: error
retention-days: 7
- name: 'Upload artifacts to update server'
uses: burnett01/rsync-deployments@4.1
with:

View File

@ -1,6 +1,13 @@
name: 'Lint C/C++ with clang-format'
on: push
on:
push:
paths:
- '**.h'
- '**.c'
- '**.hpp'
- '**.cpp'
pull_request:
env:
TARGETS: f6