Skip to content

Commit

Permalink
support new artifact naming (#18)
Browse files Browse the repository at this point in the history
* support new artifact naming
  • Loading branch information
jandelgado authored Oct 15, 2024
1 parent 69ef3d5 commit 4e19897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e19897

Please sign in to comment.