This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 46b524b
Showing
107 changed files
with
18,735 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[*.cs] | ||
|
||
# CS8600: 将 null 字面量或可能为 null 的值转换为非 null 类型。 | ||
dotnet_diagnostic.CS8600.severity = suggestion | ||
dotnet_diagnostic.CS8602.severity = suggestion | ||
dotnet_diagnostic.CS8604.severity = suggestion | ||
dotnet_diagnostic.CS8618.severity = suggestion | ||
dotnet_diagnostic.CS8601.severity = suggestion | ||
dotnet_diagnostic.CS8625.severity = suggestion | ||
dotnet_diagnostic.CS8612.severity = suggestion | ||
dotnet_diagnostic.CS0108.severity = suggestion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Publish | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "**" ] | ||
|
||
jobs: | ||
main: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Time | ||
id: date | ||
run: echo "date=$(date +'%Y-%m-%d.%H-%M-%S')" >> $GITHUB_OUTPUT | ||
shell: bash | ||
- name: Build | ||
run: | | ||
dotnet publish YMCL.Main/YMCL.Main.csproj -r win-x86 --self-contained false | ||
dotnet publish YMCL.Main/YMCL.Main.csproj -r win-x64 --self-contained false | ||
- name: Rename | ||
run: | | ||
mv ./YMCL.Main/bin/Release/net8.0-windows7.0/win-x86/publish/YMCL.Main.exe ./YMCL.Main/bin/Release/net8.0-windows7.0/win-x86/publish/YMCL.Main.x86.exe | ||
mv ./YMCL.Main/bin/Release/net8.0-windows7.0/win-x64/publish/YMCL.Main.exe ./YMCL.Main/bin/Release/net8.0-windows7.0/win-x64/publish/YMCL.Main.x64.exe | ||
- name: Publish | ||
uses: marvinpinto/action-automatic-releases@latest | ||
with: | ||
repo_token: "${{ secrets.TOKEN }}" | ||
title: "${{ github.event.commits[0].message }}" | ||
automatic_release_tag: "AutoRelease-${{ steps.date.outputs.date }}" | ||
prerelease: true | ||
files: | | ||
YMCL.Main/bin/Release/net8.0-windows7.0/win-x86/publish/* | ||
YMCL.Main/bin/Release/net8.0-windows7.0/win-x64/publish/* | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
bin/ | ||
obj/ | ||
.vs/* | ||
.idea/* | ||
*.suo | ||
*.bin |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.