diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bbfe283..3a7cef6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,20 +25,16 @@ jobs: - if: runner.os == 'Linux' run: | - sudo apt-get update + sudo aptitude update sudo apt-get install -y \ gnupg \ - ntp \ libudev-dev \ libsasl2-dev \ libssl-dev \ libzstd-dev - sudo touch /etc/apt/sources.list.d/debian.list - echo 'deb http://ftp.debian.org/debian sid main' | sudo tee -a /etc/apt/sources.list.d/debian.list - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 - sudo apt-get update - sudo apt-get install -y protobuf-compiler + echo 'deb http://azure.archive.ubuntu.com/ubuntu lunar main' | sudo tee -a /etc/apt/sources.list.d/lunar.list + sudo aptitude update + sudo aptitude satisfy -y "protobuf-compiler (>=3.16)" -t "n=lunar" - uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76d0750..6d2d5a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,20 +24,16 @@ jobs: - if: runner.os == 'Linux' run: | - sudo apt-get update - sudo apt-get install -y \ + sudo aptitude update + sudo aptitude install -y \ gnupg \ - ntp \ libudev-dev \ libsasl2-dev \ libssl-dev \ libzstd-dev - sudo touch /etc/apt/sources.list.d/debian.list - echo 'deb http://ftp.debian.org/debian sid main' | sudo tee -a /etc/apt/sources.list.d/debian.list - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 - sudo apt-get update - sudo apt-get install -y protobuf-compiler + echo 'deb http://azure.archive.ubuntu.com/ubuntu lunar main' | sudo tee -a /etc/apt/sources.list.d/lunar.list + sudo aptitude update + sudo aptitude satisfy -y "protobuf-compiler (>=3.16)" -t "n=lunar" - uses: actions-rs/toolchain@v1 with: