From ce19649a1e4942ffc0c62ba36bd8f92c631494d7 Mon Sep 17 00:00:00 2001 From: Timur Zununbekov Date: Tue, 20 Feb 2024 20:03:19 +0600 Subject: [PATCH] Preserve env for sudo commands --- .github/workflows/build-packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index a365253791..7ee71ae69a 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -109,7 +109,7 @@ jobs: run: | source env.sh unset CI # workaround for "PackageAndroid" target - sudo go run mage.go -v ${{ matrix.platform }} + sudo -E go run mage.go -v ${{ matrix.platform }} build-swagger: runs-on: ubuntu-latest