Skip to content

Commit

Permalink
Update2
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Oct 5, 2024
1 parent 5aa495f commit 4ad0364
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/actions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,16 @@ runs:
run: |
echo "UBUNTU_CODENAME=$(lsb_release -sc)" >> $GITHUB_ENV
echo "UBUNTU_VERSION=$(lsb_release -sr)" >> $GITHUB_ENV
# run in container
- name: Fix GitHub's mess (ubuntu-20.04)
if: ${{ runner.os == 'Linux' && env.UBUNTU_VERSION == '20.04' }}
shell: bash
run: |
sudo rm /etc/apt/sources.list.d/*.list
sudo apt-get update -qq
sudo apt-get purge -yqq git-man libclang* libgbm* libllvm* libmono* libnginx* moby* mono* nginx* perl php* libgdiplus libpcre2-posix3 libselinux1-dev libzip4
sudo apt-get install -yqq --allow-downgrades autoconf/focal automake/focal build-essential/focal git/focal libgd3/focal libglib2.0-0/focal libglib2.0-dev/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal pkg-config/focal
sudo apt-get clean
rm /etc/apt/sources.list.d/*.list
apt-get update -qq
apt-get purge -yqq git-man libclang* libgbm* libllvm* libmono* libnginx* moby* mono* nginx* perl php* libgdiplus libpcre2-posix3 libselinux1-dev libzip4
apt-get install -yqq --allow-downgrades autoconf/focal automake/focal build-essential/focal git/focal libgd3/focal libglib2.0-0/focal libglib2.0-dev/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal pkg-config/focal
apt-get clean
- name: Fix GitHub's mess (ubuntu-22.04)
if: ${{ runner.os == 'Linux' && env.UBUNTU_VERSION == '22.04' }}
shell: bash
Expand Down

0 comments on commit 4ad0364

Please sign in to comment.