Skip to content

Commit

Permalink
use yq gh action instead of installing it manually
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmazza committed May 27, 2024
1 parent 35df2ec commit 96054ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: install-yq
run: wget https://github.com/mikefarah/yq/releases/v4.44.1/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq

- id: check-update
run: ./bin/check-updates
uses: mikefarah/yq@557dcb87b8efe786f89a12c09e9046b4753ab72e
with:
cmd: ./bin/check-updates

- id: create-issue
if: ${{ steps.check-update.outputs.changed == 'true' }}
Expand Down

0 comments on commit 96054ab

Please sign in to comment.