Skip to content

Commit 4cf2795

Browse files
authored
Update build-kernel.yml
1 parent c109c05 commit 4cf2795

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/build-kernel.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,16 @@ jobs:
2222
source config.env
2323
set +o allexport
2424
25-
- name: Install yq via apt
25+
- name: Install yq (v4)
2626
run: |
27-
sudo apt-get update && sudo apt-get install -y yq
28-
yq --version
29-
27+
set -e
28+
curl -sL https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64.tar.gz | tar xz
29+
chmod +x yq_linux_amd64
30+
sudo mv yq_linux_amd64 /usr/local/bin/yq
31+
yq --version
32+
33+
34+
3035
- name: Set up swap
3136
uses: pierotofy/set-swap-space@master
3237
with:

0 commit comments

Comments
 (0)