Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-thm committed Apr 17, 2024
1 parent e5576be commit 6afdb88
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/periodic-update-multitool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ jobs:
token: ${{ steps.app-token.outputs.token }}
- name: Download and Extract Latest Multitool
run: |
curl -o multitool.tar.xz \
"$(curl https://api.github.com/repos/theoremlp/multitool/releases/latest \
| jq -r '.assets[].browser_download_url | select(. | test("linux-gnu.tar.xz$"))')"
tar --strip-components -xzf multitool.tar.xz
latest="$(curl https://api.github.com/repos/theoremlp/multitool/releases/latest | jq -r '.assets[].browser_download_url | select(. | test("linux-gnu.tar.xz$"))')"
wget -O multitool.tar.xz "$latest"
tar --strip-components=1 -xzf multitool.tar.xz
- name: Find Updates and Render Lockfile
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
Expand Down

0 comments on commit 6afdb88

Please sign in to comment.