Skip to content

Commit

Permalink
Update Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectNyaser authored Jul 17, 2024
1 parent 8fca9ff commit 97f614a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest
permissions:
contents: write

Expand All @@ -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
Expand Down

0 comments on commit 97f614a

Please sign in to comment.