From 8a5fb4d5bd1cd8def3f951f55006f159521dbcd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Wed, 17 Aug 2022 20:55:46 +0200 Subject: [PATCH] Update action.yml --- latest-cache/action.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/latest-cache/action.yml b/latest-cache/action.yml index c02c46b..76982dc 100644 --- a/latest-cache/action.yml +++ b/latest-cache/action.yml @@ -12,10 +12,9 @@ runs: path: cache clean: false - - name: "Check released" + - name: "Get last release version from cache" id: check-released shell: bash run: | - - cd cache - echo "ROOTFSCACHE_VERSION=$(gh release list --exclude-drafts | awk '{print $(NF-1)}')" >> $GITHUB_ENV + + echo "ROOTFSCACHE_VERSION=$(cd cache;gh release list --exclude-drafts | awk '{print $(NF-1)}')" >> $GITHUB_ENV