Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
🎉 初始化提交记录
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiYu-233 committed Apr 30, 2024
0 parents commit 46b524b
Show file tree
Hide file tree
Showing 107 changed files with 18,735 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
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
37 changes: 37 additions & 0 deletions .github/workflows/Publish.yml
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/*
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bin/
obj/
.vs/*
.idea/*
*.suo
*.bin
Binary file added Assets/YMCL-Icon.ico
Binary file not shown.
Binary file added Assets/YMCL-Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 122 additions & 0 deletions Assets/YMCL-Icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 46b524b

Please sign in to comment.