diff --git a/.github/workflows/libclang-abi-tests.yml b/.github/workflows/libclang-abi-tests.yml --- a/.github/workflows/libclang-abi-tests.yml +++ b/.github/workflows/libclang-abi-tests.yml @@ -103,7 +103,8 @@ uses: llvm/actions/install-ninja@main - name: Install abi-compliance-checker run: | - sudo apt-get install abi-dumper autoconf pkg-config + sudo apt update + sudo apt install abi-dumper autoconf pkg-config - name: Install universal-ctags run: | git clone https://github.com/universal-ctags/ctags.git @@ -152,7 +153,9 @@ name: build-latest - name: Install abi-compliance-checker - run: sudo apt-get install abi-compliance-checker + run: | + sudo apt update + sudo apt install abi-compliance-checker - name: Compare ABI run: | for lib in ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}; do diff --git a/.github/workflows/llvm-tests.yml b/.github/workflows/llvm-tests.yml --- a/.github/workflows/llvm-tests.yml +++ b/.github/workflows/llvm-tests.yml @@ -109,7 +109,8 @@ uses: llvm/actions/install-ninja@main - name: Install abi-compliance-checker run: | - sudo apt-get install abi-dumper autoconf pkg-config + sudo apt update + sudo apt install abi-dumper autoconf pkg-config - name: Install universal-ctags run: | git clone https://github.com/universal-ctags/ctags.git @@ -178,7 +179,9 @@ name: symbol-list - name: Install abi-compliance-checker - run: sudo apt-get install abi-compliance-checker + run: | + sudo apt update + sudo apt install abi-compliance-checker - name: Compare ABI run: | if [ -s symbol-list/llvm.symbols ]; then diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -87,7 +87,9 @@ - name: Install Debian build dependencies if: matrix.target.debian-build-deps != '' - run: sudo apt install ${{ matrix.target.debian-build-deps }} + run: | + sudo apt update + sudo apt install ${{ matrix.target.debian-build-deps }} - name: Set macOS build env variables if: runner.os == 'macOS' diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml --- a/.github/workflows/release-tasks.yml +++ b/.github/workflows/release-tasks.yml @@ -26,8 +26,8 @@ - name: Install Dependencies run: | - sudo apt-get update - sudo apt-get install -y \ + sudo apt update + sudo apt install -y \ doxygen \ graphviz \ python3-github \ @@ -84,7 +84,9 @@ uses: actions/checkout@v3 - name: Install dependencies - run: apt-get install -y python3-setuptools + run: | + sudo apt update + sudo apt install -y python3-setuptools - name: Test lit run: |