diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 651d903..de3d16e 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest permissions: contents: write @@ -21,10 +21,10 @@ jobs: dotnet-version: 8.0 - name: Build - run: dotnet publish -p:PublishProfile=FolderProfile -p:EnableWindowsTargeting=true + run: dotnet publish -p:PublishProfile=FolderProfile - name: Zip the Build - run: zip -j -r Genshin.Downloader.zip ./bin/publish/ + run: Compress-Archive -Path .\bin\publish\* -DestinationPath Genshin.Downloader.ziph/ - name: Upload Release Asset uses: softprops/action-gh-release@v2