From 9a9a92c1c1dbfc748c80f042c791149e3013edf0 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Tue, 23 Aug 2022 00:01:10 +0800 Subject: [PATCH] use ubuntu-18.04 container --- .github/workflows/build_latest.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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: