From 2ffedb48b6e0380853af71a101b354f567c68ff0 Mon Sep 17 00:00:00 2001 From: Youyuan Wu Date: Sat, 18 Nov 2023 22:14:17 -0800 Subject: [PATCH] fix build --- .github/workflows/build.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fa8a9cbd..1c41ee42 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -58,19 +58,19 @@ jobs: - uses: actions/checkout@v2 - name: apt-get - run: apt-get install apt-transport-https curl lsb-release wget gnupg2 software-properties-common debconf-utils -y + run: sudo apt-get install apt-transport-https curl lsb-release wget gnupg2 software-properties-common debconf-utils -y - name: install sf run: | wget -q https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb; - dpkg -i packages-microsoft-prod.deb; - curl -fsSL https://packages.microsoft.com/keys/msopentech.asc | apt-key add - ; - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - ; - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" ; - apt-get update; - echo "servicefabric servicefabric/accepted-eula-ga select true" | debconf-set-selections ; - echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | debconf-set-selections ; - apt-get install servicefabricsdkcommon -y + sudo dpkg -i packages-microsoft-prod.deb; + curl -fsSL https://packages.microsoft.com/keys/msopentech.asc | sudo apt-key add - ; + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - ; + sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" ; + sudo apt-get update; + echo "servicefabric servicefabric/accepted-eula-ga select true" | sudo debconf-set-selections ; + echo "servicefabricsdkcommon servicefabricsdkcommon/accepted-eula-ga select true" | sudo debconf-set-selections ; + sudo apt-get install servicefabricsdkcommon -y - name: Install rust stable uses: actions-rs/toolchain@v1