forked from RogueMaster/flipperzero-firmware-wPlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Remove pycache from artifacts (RogueMaster#858)
* CI: Remove pycache from artifacts * CI: Move bundle scripts step even higher
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,11 @@ jobs: | |
echo "::set-output name=short-hash::${SHA}" | ||
echo "::set-output name=default-target::${DEFAULT_TARGET}" | ||
- name: 'Bundle scripts' | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
run: | | ||
tar czpf artifacts/flipper-z-any-scripts-${{steps.names.outputs.suffix}}.tgz scripts | ||
- name: 'Build the firmware in docker' | ||
uses: ./.github/actions/docker | ||
with: | ||
|
@@ -92,6 +97,12 @@ jobs: | |
mv dist/${TARGET}/* artifacts/ | ||
done | ||
- name: 'Bundle resources' | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
run: | | ||
./scripts/assets.py manifest assets/resources | ||
tar czpf artifacts/flipper-z-any-resources-${{steps.names.outputs.suffix}}.tgz -C assets resources | ||
- name: 'Bundle core2 firmware' | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
run: | | ||
|
@@ -100,17 +111,6 @@ jobs: | |
./scripts/assets.py copro lib/STM32CubeWB core2_firmware STM32WB5x | ||
tar czpf artifacts/flipper-z-any-core2_firmware-${{steps.names.outputs.suffix}}.tgz core2_firmware | ||
- name: 'Bundle scripts' | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
run: | | ||
tar czpf artifacts/flipper-z-any-scripts-${{steps.names.outputs.suffix}}.tgz scripts | ||
- name: 'Bundle resources' | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
run: | | ||
./scripts/assets.py manifest assets/resources | ||
tar czpf artifacts/flipper-z-any-resources-${{steps.names.outputs.suffix}}.tgz -C assets resources | ||
- name: 'Upload artifacts to update server' | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
uses: burnett01/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters