Skip to content

Commit

Permalink
Update update_assets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joaorb64 authored Oct 10, 2023
1 parent 5922be0 commit b11c9e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.9" #install the python needed

- name: Install hub
run: |
latest_hub_version=$(curl -s https://api.github.com/repos/github/hub/releases/latest | jq -r '.tag_name' | sed 's/v//')
hub_download_url="https://github.com/github/hub/releases/download/v${latest_hub_version}/hub-linux-amd64-${latest_hub_version}.tgz"
curl -L "$hub_download_url" | tar xz
sudo mv hub-linux-amd64-${latest_hub_version}/bin/hub /usr/local/bin/hub
# Optimize images
- name: Optimize images
Expand Down

0 comments on commit b11c9e3

Please sign in to comment.