parent
5a000085b2
commit
2aeb82f3c1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- name: Grab packages
|
- name: Grab packages
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y jq tar wget && \
|
apt-get install -y jq sudo tar wget && \
|
||||||
wget -O hugo.tar.gz $(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[] | select(.name | test("hugo_[^extended].*_Linux-64bit.tar.gz")) | .browser_download_url') && \
|
wget -O hugo.tar.gz $(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.assets[] | select(.name | test("hugo_[^extended].*_Linux-64bit.tar.gz")) | .browser_download_url') && \
|
||||||
tar -xzvf hugo.tar.gz && \
|
tar -xzvf hugo.tar.gz && \
|
||||||
chmod +x hugo
|
chmod +x hugo
|
||||||
|
|
Loading…
Add table
Reference in a new issue