From 952c5a892fc7c0b06fbec4ff0ea15a9a62e25abb Mon Sep 17 00:00:00 2001 From: sabihoshi Date: Wed, 19 May 2021 23:42:35 +0800 Subject: [PATCH] Remove x86 versions --- .github/workflows/dotnet.yml | 14 +++++--------- README.md | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index d181f99..6a6a015 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -7,10 +7,6 @@ on: jobs: build: runs-on: windows-latest - strategy: - fail-fast: false - matrix: - runtime: ["win-x64", "win-x86"] steps: - name: Get tag version @@ -26,13 +22,13 @@ jobs: dotnet-version: 5.0.x - name: Publish with dotnet - run: dotnet publish GenshinLyreMidiPlayer.WPF -r ${{ matrix.runtime }} -c Release -o .\output --self-contained false -p:PublishSingleFile=true + run: dotnet publish GenshinLyreMidiPlayer.WPF -r win-x64 -c Release -o .\output --self-contained false -p:PublishSingleFile=true - name: Zip release - run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_${{ matrix.runtime }}.zip .\output\* - + run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.zip .\output\* + - name: 7Zip release - run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_${{ matrix.runtime }}.7z .\output\* + run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.7z .\output\* - name: Create Release uses: ncipollo/release-action@v1.8.4 @@ -40,6 +36,6 @@ jobs: allowUpdates: true omitBodyDuringUpdate: true omitNameDuringUpdate: true - artifacts: ./GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_${{ matrix.runtime }}.zip,./GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_${{ matrix.runtime }}.7z + artifacts: ./GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.zip,./GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.7z artifactContentType: application/zip token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 334a6a3..516065a 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ If you just want to run the program, there are precompiled releases that can be git clone https://github.com/sabihoshi/GenshinLyreMidiPlayer.git cd GenshinLyreMidiPlayer -dotnet publish GenshinLyreMidiPlayer.WPF -r win-x86 ^ +dotnet publish GenshinLyreMidiPlayer.WPF -r win-x64 ^ -c Release --self-contained false -p:PublishSingleFile=true ``` > For other runtimes, visit the [RID Catalog](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog) and change the runtime value.