use ubuntu-18.04 container
This commit is contained in:
parent
ba9fd870e2
commit
9a9a92c1c1
|
@ -42,18 +42,20 @@ jobs:
|
||||||
|
|
||||||
build-linux-x64:
|
build-linux-x64:
|
||||||
|
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-latest
|
||||||
|
container: ubuntu:18.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- run: apt-get update
|
||||||
|
- run: apt-get install -y curl wget
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up dotnet
|
- name: Set up dotnet
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
|
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
|
||||||
include-prerelease: true
|
include-prerelease: true
|
||||||
- run: sudo apt-get update
|
- run: apt-get install -y libicu-dev libcurl4-openssl-dev zlib1g-dev libkrb5-dev
|
||||||
- run: sudo apt-get install libcurl4-openssl-dev zlib1g-dev libkrb5-dev
|
|
||||||
- run: |
|
- run: |
|
||||||
cd src
|
cd src
|
||||||
dotnet publish N_m3u8DL-RE -r linux-x64 -c Release -o artifact
|
dotnet publish N_m3u8DL-RE -r linux-x64 -c Release -o artifact
|
||||||
|
@ -67,7 +69,7 @@ jobs:
|
||||||
|
|
||||||
build-linux-arm64:
|
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
|
container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-arm64-20220312201346-b2c2436
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue