10 changed files with 0 additions and 180 deletions
@ -1,14 +0,0 @@ |
|||
version: 2 |
|||
updates: |
|||
- package-ecosystem: nuget |
|||
directory: "/samples" |
|||
schedule: |
|||
interval: monthly |
|||
time: "00:00" |
|||
open-pull-requests-limit: 10 |
|||
- package-ecosystem: nuget |
|||
directory: "/src" |
|||
schedule: |
|||
interval: monthly |
|||
time: "00:00" |
|||
open-pull-requests-limit: 10 |
|||
@ -1,100 +0,0 @@ |
|||
name: Build |
|||
|
|||
on: |
|||
push: |
|||
branches: [ main ] |
|||
pull_request: |
|||
types: [opened, synchronize, reopened, closed] |
|||
branches: [ main ] |
|||
|
|||
env: |
|||
configuration: Release |
|||
productNamespacePrefix: "Avalonia.NameGenerator" |
|||
|
|||
jobs: |
|||
build: |
|||
runs-on: windows-latest |
|||
outputs: |
|||
nbgv: ${{ steps.nbgv.outputs.SemVer2 }} |
|||
steps: |
|||
- name: Checkout |
|||
uses: actions/checkout@v2 |
|||
with: |
|||
fetch-depth: 0 |
|||
submodules: 'recursive' |
|||
|
|||
- name: Install .NET Core |
|||
uses: actions/setup-dotnet@v1 |
|||
with: |
|||
dotnet-version: 6.0.101 |
|||
|
|||
- name: NBGV |
|||
id: nbgv |
|||
uses: dotnet/nbgv@master |
|||
with: |
|||
setAllVars: true |
|||
|
|||
- name: NuGet Restore |
|||
run: dotnet restore |
|||
working-directory: src |
|||
|
|||
- name: Add MSBuild to PATH |
|||
uses: microsoft/setup-msbuild@v1 |
|||
|
|||
- name: Build |
|||
run: dotnet build --configuration ${{ env.configuration }} |
|||
working-directory: src |
|||
|
|||
- name: Run Unit Tests and Generate Coverage |
|||
uses: glennawatson/coverlet-msbuild@v1 |
|||
with: |
|||
project-files: 'src/**/*.Tests.csproj' |
|||
no-build: true |
|||
exclude-filter: '[${{env.productNamespacePrefix}}.*.Tests.*]*' |
|||
include-filter: '[${{env.productNamespacePrefix}}*]*' |
|||
output-format: cobertura |
|||
output: '../../artifacts/' |
|||
configuration: ${{ env.configuration }} |
|||
working-directory: src |
|||
|
|||
- name: Create NuGet Artifacts |
|||
uses: actions/upload-artifact@master |
|||
with: |
|||
name: nuget |
|||
path: '**/*.nupkg' |
|||
|
|||
release: |
|||
runs-on: ubuntu-latest |
|||
needs: build |
|||
if: contains(github.event.pull_request.labels.*.name, 'release') && github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true |
|||
steps: |
|||
- name: Checkout |
|||
uses: actions/checkout@v2 |
|||
with: |
|||
fetch-depth: 0 |
|||
|
|||
- name: Download NuGet Packages |
|||
uses: actions/download-artifact@v2 |
|||
with: |
|||
name: nuget |
|||
|
|||
- name: Changelog |
|||
uses: glennawatson/ChangeLog@v1 |
|||
id: changelog |
|||
|
|||
- name: Create Release |
|||
uses: actions/create-release@v1 |
|||
env: |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token |
|||
with: |
|||
tag_name: ${{ needs.build.outputs.nbgv }} |
|||
release_name: ${{ needs.build.outputs.nbgv }} |
|||
body: | |
|||
${{ steps.changelog.outputs.commitLog }} |
|||
|
|||
- name: NuGet Push |
|||
env: |
|||
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }} |
|||
SOURCE_URL: https://api.nuget.org/v3/index.json |
|||
run: | |
|||
dotnet nuget push -s ${{ env.SOURCE_URL }} -k ${{ env.NUGET_AUTH_TOKEN }} **/*.nupkg |
|||
@ -1,3 +0,0 @@ |
|||
[submodule "external/XamlX"] |
|||
path = external/XamlX |
|||
url = https://github.com/kekekeks/XamlX.git |
|||
@ -1,30 +0,0 @@ |
|||
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00 |
|||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Generators", "Avalonia.Generators\Avalonia.Generators.csproj", "{684ADF3B-8DFC-4F4A-93AD-F856561FCC39}" |
|||
EndProject |
|||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.Generators.Tests", "Avalonia.Generators.Tests\Avalonia.Generators.Tests.csproj", "{B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}" |
|||
EndProject |
|||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{56EF74A3-1D59-42BC-B7EC-2E07C08B9F95}" |
|||
ProjectSection(SolutionItems) = preProject |
|||
..\version.json = ..\version.json |
|||
..\.gitignore = ..\.gitignore |
|||
..\.gitmodules = ..\.gitmodules |
|||
Directory.Build.props = Directory.Build.props |
|||
EndProjectSection |
|||
EndProject |
|||
Global |
|||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
|||
Debug|Any CPU = Debug|Any CPU |
|||
Release|Any CPU = Release|Any CPU |
|||
EndGlobalSection |
|||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
|||
{684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|||
{684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|||
{684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|||
{684ADF3B-8DFC-4F4A-93AD-F856561FCC39}.Release|Any CPU.Build.0 = Release|Any CPU |
|||
{B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|||
{B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|||
{B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|||
{B13A0A44-85BC-49A7-970F-6C9BF8BDFD54}.Release|Any CPU.Build.0 = Release|Any CPU |
|||
EndGlobalSection |
|||
EndGlobal |
|||
@ -1,21 +0,0 @@ |
|||
MIT License |
|||
|
|||
Copyright (c) .NET Foundation and Contributors All Rights Reserved |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy |
|||
of this software and associated documentation files (the "Software"), to deal |
|||
in the Software without restriction, including without limitation the rights |
|||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|||
copies of the Software, and to permit persons to whom the Software is |
|||
furnished to do so, subject to the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be included in all |
|||
copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|||
SOFTWARE. |
|||
@ -1,11 +0,0 @@ |
|||
{ |
|||
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", |
|||
"version": "1.6", |
|||
"assemblyVersion": { |
|||
"precision": "revision" |
|||
}, |
|||
"publicReleaseRefSpec": [ |
|||
"^refs/heads/main$", |
|||
"^refs/heads/v\\d+\\.\\d+$" |
|||
] |
|||
} |
|||
Loading…
Reference in new issue