mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
commit
a8ac790571
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
VERSION=`<VERSION`
|
VERSION=`<VERSION`
|
||||||
echo "{VERSION}=${VERSION}" >> $GITHUB_OUTPUT
|
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
|
||||||
# Remove old files
|
# Remove old files
|
||||||
rm -rf .buildroot/output/target/opt/arpl
|
rm -rf .buildroot/output/target/opt/arpl
|
||||||
rm -rf .buildroot/board/arpl/overlayfs
|
rm -rf .buildroot/board/arpl/overlayfs
|
||||||
@ -99,7 +99,7 @@ jobs:
|
|||||||
yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml | while read F; do
|
yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml | while read F; do
|
||||||
(cd `dirname ${F}` && sha256sum `basename ${F}` > sha256sum)
|
(cd `dirname ${F}` && sha256sum `basename ${F}` > sha256sum)
|
||||||
done
|
done
|
||||||
yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml | xargs zip -9D "update-${{ steps.build.outputs.VERSION }}.zip" sha256sum update-list.yml
|
yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml | xargs zip -9j "update-${{ steps.build.outputs.VERSION }}.zip" sha256sum update-list.yml
|
||||||
|
|
||||||
# Upload artifact
|
# Upload artifact
|
||||||
- name: Upload
|
- name: Upload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user