Skip to content

Commit

Permalink
Merge pull request #195 from AuroraZiling/main
Browse files Browse the repository at this point in the history
Auto Continuous Integration & Better Issue Templates
  • Loading branch information
AuroraZiling authored May 22, 2024
2 parents d995252 + 1306be6 commit 626fe2c
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 32 deletions.
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Bug Report
description: Submit bug reports to help improve
title: "[Bug] "
labels:
- Bug
body:
- type: checkboxes
attributes:
label: Check the following items
options:
- label: I have looked up relevant Issue
required: false
- label: I've read [How To Ask Questions](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
label: Description of the issue
description: Please describe in detail the problems encountered. If applicable, add screenshots to help explain your problem.
validations:
required: true
- type: input
id: version
attributes:
label: Package Version
description: Enter the version you are using
placeholder: E.g. 6.0.0-beta6
validations:
required: true
- type: input
id: environment
attributes:
label: Environment
description: Platform or environment where the bug occurs
placeholder: E.g. Windows 11 22631
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Reproduction
description: Describe in detail the reproduction
placeholder: If unable to reproduce, enter "unable to reproduce"
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional Information
description: Add any other context about the problem here
validations:
required: false
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Submit a new feature request
title: "[Feat] "
labels:
- Enhancement
body:
- type: checkboxes
attributes:
label: Check the following items
options:
- label: I have looked up relevant Issue
required: false
- label: I've read [How To Ask Questions](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
label: Description of new feature
description: Please describe the new features in detail
validations:
required: true
- type: input
id: version
attributes:
label: Package Version
description: Enter the version you are using
placeholder: E.g. 6.0.0-beta6
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional Information
description: Add any other context about the problem here
validations:
required: false
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "SukiUI Continuous Integration"

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
env:
Project_Path: SukiUI/SukiUI.csproj
Dll_Path: publish/SukiUI.dll
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install .Net 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore
run: dotnet restore ${{ env.Project_Path }}

- name: Build
run: dotnet build ${{ env.Project_Path }} -c Release --no-restore

- name: Publish
run: dotnet publish ${{ env.Project_Path }} -c Release -o "publish/" -p:AssemblyVersion=1.0.0.0

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: SukiUI-dev
path: ${{ env.Dll_Path }}
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@

<br/>

## 🚀 Getting Started

### Install via Nuget (Recommended)

Visit [SukiUI on Nuget.org](https://www.nuget.org/packages/SukiUI)

### Add `.dll` reference via Github Action

[![SukiUI Continuous Integration](https://github.com/kikipoulet/SukiUI/actions/workflows/build.yml/badge.svg)](https://github.com/kikipoulet/SukiUI/actions/workflows/build.yml)

Download `SukiUI-dev` in artifacts

## 📱 UI Theme

##### SukiUI contains a theme for AvaloniaUI's base controls with support for Light/Dark themes.
Expand Down

0 comments on commit 626fe2c

Please sign in to comment.