diff --git a/.github/workflows/check_git_apply.yaml b/.github/workflows/check_git_apply.yaml index 20a29ce..3711824 100644 --- a/.github/workflows/check_git_apply.yaml +++ b/.github/workflows/check_git_apply.yaml @@ -28,6 +28,9 @@ jobs: - name: Prepare container run: | + sudo chown lg /etc/apt/apt.conf.d/proxy.conf + sudo chown lg . + sudo echo Acquire::http::Proxy \"http://172.18.0.1:8118\"\; >/etc/apt/apt.conf.d/proxy.conf export HTTPS_PROXY=http://172.18.0.1:8118 export HTTP_PROXY=http://172.18.0.1:8118 @@ -48,6 +51,13 @@ jobs: BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$GITHUB_SHA | ./pup -p li.branch:last-child a text{}) echo "BRANCH=$BRANCH" >> $GITHUB_ENV + wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb + sudo dpkg -i packages-microsoft-prod.deb + rm packages-microsoft-prod.deb + + sudo apt-get update && \ + sudo apt-get install -y aspnetcore-runtime-6.0 + - name: Checkout 'uazo/bromite' ${{ env.BRANCH }} uses: actions/checkout@v2 with: