Skip to content

Commit

Permalink
Update Release.yml
Browse files Browse the repository at this point in the history
发现是 .NET 版本问题...
8.0.8 编译的运行不正常...
What can I say?
  • Loading branch information
ProjectNyaser authored Aug 29, 2024
1 parent 43dbe81 commit 14a3c1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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: self-hosted
runs-on: ubuntu-latest
permissions:
contents: write

Expand All @@ -18,13 +18,13 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0
dotnet-version: 8.0.7

- 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 14a3c1c

Please sign in to comment.