diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 3512871..df2a41c 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -42,18 +42,20 @@ jobs: build-linux-x64: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest + container: ubuntu:18.04 steps: + - run: apt-get update + - run: apt-get install -y curl wget - uses: actions/checkout@v2 - name: Set up dotnet uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ env.DOTNET_SDK_VERSION }} include-prerelease: true - - run: sudo apt-get update - - run: sudo apt-get install libcurl4-openssl-dev zlib1g-dev libkrb5-dev + - run: apt-get install -y libicu-dev libcurl4-openssl-dev zlib1g-dev libkrb5-dev - run: | cd src dotnet publish N_m3u8DL-RE -r linux-x64 -c Release -o artifact @@ -67,7 +69,7 @@ jobs: build-linux-arm64: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm64-20220312201346-b2c2436 steps: