This repository was archived by the owner on Dec 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ver 2.0.0-B1: okay, start a github action.
- Loading branch information
1 parent
6ab7b93
commit e059094
Showing
5 changed files
with
127 additions
and
3 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,32 @@ | ||
name: "BUG反馈" | ||
description: LocyanFrp的部分行为不符合预期 | ||
title: "BUG反馈 <在此处简单描述>" | ||
labels: ["🐛Bug"] | ||
|
||
body: | ||
- type: input | ||
id: version | ||
attributes: | ||
label: 当前使用的LocyanFrp版本 | ||
description: 设置 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expectation | ||
attributes: | ||
label: 你的预期 | ||
description: 预期LocyanFrp应该的反应 | ||
placeholder: | | ||
1. ... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: in_fact | ||
attributes: | ||
label: 实际上的反应 | ||
placeholder: | | ||
1. ... | ||
validations: | ||
required: true |
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 @@ | ||
blank_issues_enabled: true |
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,35 @@ | ||
name: "崩溃反馈" | ||
description: LocyanFrp发生了莫名其妙的崩溃 | ||
title: "崩溃反馈 <在此处简单描述报错信息>" | ||
labels: ["❗ 崩溃"] | ||
|
||
body: | ||
- type: input | ||
id: version | ||
attributes: | ||
label: 当前使用的LocyanFrp版本 | ||
description: 设置 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: exception | ||
attributes: | ||
label: 崩溃日志 | ||
description: | | ||
如何查看崩溃日志 | ||
- 打开`./logs/crash/{日期}.log`后复制全文粘贴在此处 | ||
- 若崩溃时未产生崩溃日志,则按下win+r键,输入`eventvwr`回车,打开`事件查看器-Windows日志-应用程序`,按`时间与日期`降序,找到最近的来源为`.NET Runtime`的项,复制下方`常规窗口`内的异常信息到此处 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: operation | ||
attributes: | ||
label: 复现操作 | ||
description: 简单描述一下如何触发此崩溃 | ||
placeholder: | | ||
1. 先这样 | ||
2. 再这样 | ||
validations: | ||
required: true |
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,59 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
paths: | ||
- "**.cs" | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
BuildForWindows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Install .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Write Build info | ||
shell: cmd | ||
run: | | ||
cmd /c echo GITHUB ACTION #${{github.run_number}} >${{ github.workspace }}\LoCyanFrpDesktop\buildinfo.info | ||
cmd /c echo %date% %time% >>${{ github.workspace }}\LoCyanFrpDesktop\buildinfo.info | ||
cmd /c echo ${{github.ref}} ${{github.sha}}>>${{ github.workspace }}\LoCyanFrpDesktop\buildinfo.info | ||
- name: DotNet restore | ||
run: dotnet restore | ||
|
||
- name: Build the project(Release) | ||
run: dotnet build -p:Configuration=Release "LoCyanFrpDesktop/LoCyanFrpDesktop.csproj" | ||
|
||
- name: Build the project(Debug) | ||
run: dotnet build "LoCyanFrpDesktop/LoCyanFrpDesktop.csproj" | ||
|
||
- name: Upload LocyanFrp(Release,dotnet6-windows) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: LoCyanFrpDesktop_dotnet6 | ||
path: ${{ github.workspace }}\LoCyanFrpDesktop\bin\Release\net6.0-windows | ||
if-no-files-found: ignore | ||
|
||
- name: Build the project(Publish) | ||
run: | | ||
dotnet clean | ||
dotnet publish "LoCyanFrpDesktop/LoCyanFrpDesktop.csproj" -f net6.0-windows --no-self-contained -p:PublishSingleFile=true -p:RuntimeIdentifier=win-x64 -p:IncludeContentInSingleFile=true | ||
- name: Upload Serein(Publish) | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: LoCyanFrpDesktop_dotnet6_publish | ||
path: ${{ github.workspace }}\LoCyanFrpDesktop\bin\Debug\net6.0-windows\win-x64\publish | ||
if-no-files-found: ignore | ||
|
||
|
This file was deleted.
Oops, something went wrong.