diff --git a/CHANGELOG.md b/CHANGELOG.md index 869cad6..0cc16d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog for gcov2lcov-action -## 1.1.0 [2024-10-10] +## 1.1.0, 1.1.1 [2024-10-10] - prepare for new gcov2lcov version 1.1.0, which will change artifact names diff --git a/action.yml b/action.yml index a0a019c..9e795b4 100644 --- a/action.yml +++ b/action.yml @@ -32,7 +32,7 @@ runs: fi # starting with version v1.1.0 gcov2lcov changed it's artefact naming a bit. # we are gentle and support also the old naming convetion - PACKAGE_URL=$(curl "$URL" | jq -r '.assets[] | select(.name | test("gcov2lcov.*linux.amd64.tar.gz")) | .browser_download_url') + PACKAGE_URL=$(curl "$URL" | jq -r '[ .assets[] | select(.name | test("gcov2lcov.*linux.amd64.tar.gz")) | .browser_download_url ] | first ') curl -sLf "$PACKAGE_URL" | tar zxf - mv bin/gcov2lcov-linux-amd64 gcov2lcov > /dev/null 2>&1 || true # before v1.1.0