Skip to content

Commit

Permalink
Update cron.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fbouynot authored Apr 10, 2024
1 parent df58fea commit 2cffd27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Open Issue when monitored repos release a new version
run: |
apt update -y
apt install -y curl jq
apt install -y curl jq wget
url=$(curl -s https://api.github.com/repos/cli/cli/releases/latest | jq -r '.assets[].browser_download_url|select(contains("linux") and contains("amd64") and contains(".deb"))')
wget $url
apt install ./gh_*_linux_amd64.deb
apt install -y ./gh_*_linux_amd64.deb
rm gh_*_linux_amd64.deb
if ! gh --version; then
echo "GitHub CLI was not installed"
Expand Down

0 comments on commit 2cffd27

Please sign in to comment.