mirror of
https://github.com/armbian/actions.git
synced 2026-01-06 10:36:19 -08:00
Update action.yml
This commit is contained in:
@@ -17,7 +17,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
ROOTFSCACHE_VERSION=$(cd cache;gh release list --exclude-drafts | awk '{print $(NF-1)}' | head -1)
|
||||
ROOTFSCACHE_VERSION=$(cd cache;gh release list --exclude-drafts | awk '{print $(NF-1)}' | sort -r | head -1)
|
||||
[[ -z "$ROOTFSCACHE_VERSION" ]] && ROOTFSCACHE_VERSION="0000"
|
||||
ROOTFSCACHE_VERSION=$(expr $ROOTFSCACHE_VERSION + 1)
|
||||
ROOTFSCACHE_VERSION=$(printf "%04d\n" ${ROOTFSCACHE_VERSION})
|
||||
|
||||
Reference in New Issue
Block a user