Skip to content

Commit

Permalink
ci: update check: install yq
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Dec 5, 2023
1 parent f961bfc commit 69c231f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@ jobs:
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Install dependencies
- name: Install yq
run: |
DEBIAN_FRONTEND=noninteractive sudo apt-get update -y
sudo apt-get install --no-install-recommends -y yq
mkdir -p $HOME/.bin
curl -s https://api.github.com/repos/mikefarah/yq/releases/latest \
| grep "browser_download_url.*yq_linux_amd64\"" \
| cut -d : -f 2,3 | tr -d \" \
| wget -qi - -O $HOME/.bin/yq
chmod +x $HOME/.bin/yq
echo "$HOME/.bin" >> $GITHUB_PATH
- name: Check for updates
run: |
bash ./update.sh
Expand Down

0 comments on commit 69c231f

Please sign in to comment.