Remove big unnecessary file, update workflow action
This commit is contained in:
parent
2c7f7f667c
commit
aa1c9bb4af
2 changed files with 3 additions and 3 deletions
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get changed files count
|
- name: Get changed files count
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v40.1.1
|
uses: tj-actions/changed-files@v45
|
||||||
with:
|
with:
|
||||||
files_ignore: 'doc/**,README.md,Dockerfile,.*'
|
files_ignore: 'doc/**,README.md,Dockerfile,.*'
|
||||||
files_ignore_separator: ','
|
files_ignore_separator: ','
|
||||||
|
@ -95,14 +95,14 @@ jobs:
|
||||||
echo "Directory size exceeds the threshold of $THRESHOLD bytes"
|
echo "Directory size exceeds the threshold of $THRESHOLD bytes"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "Directory size is within the threshold"
|
echo "Directory size is within the threshold $DIRECTORY_SIZE"
|
||||||
fi
|
fi
|
||||||
- name: Create tarball
|
- name: Create tarball
|
||||||
run: tar czf webui.tgz --strip-components=1 dist
|
run: tar czf webui.tgz --strip-components=1 dist
|
||||||
- name: Build LittleFS
|
- name: Build LittleFS
|
||||||
run: /tmp/mklittlefs/mklittlefs -c build_gz -s 409600 output/littlefs.bin
|
run: /tmp/mklittlefs/mklittlefs -c build_gz -s 409600 output/littlefs.bin
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
webui.tgz
|
webui.tgz
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue