Skip to content

Commit

Permalink
Update Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectNyaser authored Aug 29, 2024
1 parent 1a77636 commit 43dbe81
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: ubuntu-latest
runs-on: self-hosted
permissions:
contents: write

Expand All @@ -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.zip

- name: Upload Release Asset
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 43dbe81

Please sign in to comment.