Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
youyuanwu committed Nov 19, 2023
1 parent 1a954b9 commit 2ffedb4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ffedb4

Please sign in to comment.