diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 2ff211380..d7d870c11 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -47,10 +47,10 @@ jobs: run: pnpm config set auto-install-peers false - name: Install libreoffice - run: | - sudo add-apt-repository -y ppa:libreoffice/ppa - sudo apt update - sudo apt install -y --no-install-recommends libreoffice libreoffice-pdfimport + uses: awalsh128/cache-apt-pkgs-action@v1.4.1 + with: + pkgs: libreoffice libreoffice-pdfimport + version: 1.0 - name: Install all dependencies and symlink for ep_etherpad-lite run: bin/installDeps.sh @@ -98,10 +98,10 @@ jobs: run: pnpm config set auto-install-peers false - name: Install libreoffice - run: | - sudo add-apt-repository -y ppa:libreoffice/ppa - sudo apt update - sudo apt install -y --no-install-recommends libreoffice libreoffice-pdfimport + uses: awalsh128/cache-apt-pkgs-action@v1.4.1 + with: + pkgs: libreoffice libreoffice-pdfimport + version: 1.0 - name: Install all dependencies and symlink for ep_etherpad-lite run: bin/installDeps.sh diff --git a/.github/workflows/upgrade-from-latest-release.yml b/.github/workflows/upgrade-from-latest-release.yml index 2a97b8b27..996898a82 100644 --- a/.github/workflows/upgrade-from-latest-release.yml +++ b/.github/workflows/upgrade-from-latest-release.yml @@ -79,10 +79,10 @@ jobs: run: pnpm config set auto-install-peers false - name: Install libreoffice - run: | - sudo add-apt-repository -y ppa:libreoffice/ppa - sudo apt update - sudo apt install -y --no-install-recommends libreoffice libreoffice-pdfimport + uses: awalsh128/cache-apt-pkgs-action@v1.4.1 + with: + pkgs: libreoffice libreoffice-pdfimport + version: 1.0 - name: Get pnpm store directory shell: bash run: |