From bb20d50122db35b9f6f0235cec957266a36644c6 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Tue, 19 Nov 2024 22:40:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Windows7=E7=BC=96=E8=AF=91=20?= =?UTF-8?q?(#494)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_latest.yml | 22 +++++++++++++++++++++- src/N_m3u8DL-RE/Directory.Build.props | 10 +++++----- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 3f4f246..68a4773 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -23,6 +23,26 @@ env: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: + build-win7-x86: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v1 + + - name: Set up dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ env.DOTNET_SDK_VERSION }} + + - run: dotnet add src/N_m3u8DL-RE/N_m3u8DL-RE.csproj package VC-LTL --version 5.1.1 + - run: dotnet publish src/N_m3u8DL-RE -r win-x86 -c Release -o artifact-x86 + + - name: Upload Artifact[win-x86] + uses: actions/upload-artifact@v3.1.3 + with: + name: N_m3u8DL-RE_Beta_win7-x86 + path: artifact-x86\N_m3u8DL-RE.exe + build-win-x64-arm64: runs-on: windows-latest @@ -115,7 +135,7 @@ jobs: create_draft_release: name: Create Github draft release if: ${{ github.event.inputs.doRelease == 'true' }} - needs: [build-win-x64-arm64,build-linux-x64,build-linux-arm64,build-mac-x64-arm64] + needs: [build-win7-x86,build-win-x64-arm64,build-linux-x64,build-linux-arm64,build-mac-x64-arm64] runs-on: ubuntu-latest steps: - name: Audit gh version diff --git a/src/N_m3u8DL-RE/Directory.Build.props b/src/N_m3u8DL-RE/Directory.Build.props index 0e7e739..496105d 100644 --- a/src/N_m3u8DL-RE/Directory.Build.props +++ b/src/N_m3u8DL-RE/Directory.Build.props @@ -9,14 +9,14 @@ true true zh-CN;zh-TW;en-US - true - true - aarch64-linux-gnu-objcopy + true + true + aarch64-linux-gnu-objcopy - +