From 756c447fea3ebba56d7ad0ae5e54f4e7d8545a3e Mon Sep 17 00:00:00 2001 From: wass3r <1301201+wass3r@users.noreply.github.com> Date: Sun, 14 Jul 2024 00:36:00 -0500 Subject: [PATCH] fix the fix --- .github/workflows/spec.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml index 6e73989b2..7595ba4eb 100644 --- a/.github/workflows/spec.yml +++ b/.github/workflows/spec.yml @@ -29,7 +29,7 @@ jobs: - name: create spec run: | - sudo make spec-install + make spec-install make spec - name: upload spec diff --git a/Makefile b/Makefile index c597ea922..850acc461 100644 --- a/Makefile +++ b/Makefile @@ -279,8 +279,8 @@ spec-install: $(if $(shell command -v apt-get 2> /dev/null),,$(error 'apt-get' not found - install jq, sponge, and go-swagger manually)) @echo @echo "### Installing utilities (jq and sponge)" - @apt-get update - @apt-get install -y jq moreutils + @sudo apt-get update + @sudo apt-get install -y jq moreutils @echo "### Installing go-swagger" @go install github.com/go-swagger/go-swagger/cmd/swagger@latest