Update check_git_apply.yaml

This commit is contained in:
uazo 2022-10-28 09:47:37 -02:00 committed by GitHub
parent 04c2891f63
commit 8e00d11fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,9 @@ jobs:
- name: Prepare container - name: Prepare container
run: | 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 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 HTTPS_PROXY=http://172.18.0.1:8118
export HTTP_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{}) BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$GITHUB_SHA | ./pup -p li.branch:last-child a text{})
echo "BRANCH=$BRANCH" >> $GITHUB_ENV 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 }} - name: Checkout 'uazo/bromite' ${{ env.BRANCH }}
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with: