From 1a77636912a20437dbd85a7f54c4df95f163d60d Mon Sep 17 00:00:00 2001 From: Nyaser <61904116+ProjectNyaser@users.noreply.github.com> Date: Fri, 30 Aug 2024 02:27:28 +0800 Subject: [PATCH] Update Release.yml --- .github/workflows/Release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 27316bd..651d903 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest permissions: contents: write @@ -21,10 +21,10 @@ jobs: dotnet-version: 8.0 - name: Build - run: dotnet publish -p:PublishProfile=FolderProfile + run: dotnet publish -p:PublishProfile=FolderProfile -p:EnableWindowsTargeting=true - name: Zip the Build - run: Compress-Archive -Path .\bin\publish\* -DestinationPath Genshin.Downloader.zip + run: zip -j -r Genshin.Downloader.zip ./bin/publish/ - name: Upload Release Asset uses: softprops/action-gh-release@v2