From 608c6a70cf5364f6de91ea9e554a3656238998ac Mon Sep 17 00:00:00 2001 From: Jochem Date: Fri, 5 Jul 2024 14:35:56 +0200 Subject: [PATCH] Test action --- .github/workflows/set-appversion.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/set-appversion.yml b/.github/workflows/set-appversion.yml index 593eb81..e12fe3d 100644 --- a/.github/workflows/set-appversion.yml +++ b/.github/workflows/set-appversion.yml @@ -21,11 +21,11 @@ jobs: - name: Find image version run: | - wget https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64.tar.gz -O - |\ - tar xz && mv yq_linux_amd64 yq - chmod +x yq - export VERSION=$(./yq '.librenms.image.tag' charts/librenms/values.yaml) - ./yq -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml + wget https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64.tar.gz -o /tmp/yq.tgz + tar -xvf /tmp/yq.tgz + chmod +x /tmp/yq_linux_amd64 + export VERSION=$(/tmp/yq_linux_amd64 '.librenms.image.tag' charts/librenms/values.yaml) + /tmp/yq_linux_amd64 -e -i '.appVersion = $VERSION' charts/librenms/Chart.yaml rm yq