Skip to content

Commit 287e5c7

Browse files
authored
Merge pull request #24 from SchwabenCode/feature/ci-for-main
add ci for main
2 parents 0574bd7 + 25f5f59 commit 287e5c7

20 files changed

Lines changed: 67 additions & 55 deletions

.github/workflows/main.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1414

1515
jobs:
16-
build:
17-
runs-on: ubuntu-latest
16+
build-win:
17+
runs-on: windows-latest
1818
steps:
1919

2020
- name: Cancel previous builds in PR
@@ -50,4 +50,21 @@ jobs:
5050
run: dotnet pack
5151
--configuration ${{ env.BuildConfig }}
5252
/p:ContinuousIntegrationBuild=true
53-
/p:Version=${{ steps.nbgv.outputs.NuGetPackageVersion }}
53+
/p:Version=${{ steps.nbgv.outputs.NuGetPackageVersion }}
54+
55+
# - name: Update CHANGELOG
56+
# id: changelog
57+
# uses: requarks/changelog-action@v1
58+
# with:
59+
# token: ${{ github.token }}
60+
# tag: ${{ github.ref_name }}
61+
62+
# - name: Create Release
63+
# uses: ncipollo/release-action@v1.12.0
64+
# with:
65+
# allowUpdates: true
66+
# draft: false
67+
# makeLatest: true
68+
# name: ${{ github.ref_name }}
69+
# body: ${{ steps.changelog.outputs.changes }}
70+
# token: ${{ github.token }}

global.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"sdk": {
3-
"version": "9.0.100-preview.6"
4-
}
2+
"sdk": {
3+
"version": "9.0.100-preview.7.24407.12"
54
}
6-
5+
}

src/QuickIO/CodeTemplates/StaticFileTimeMethods.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ var dateTimeReturnValueText = "A <see cref=\"DateTime\"/> structure.";
1818

1919
using System;
2020
using SchwabenCode.QuickIO.Internal;
21+
using SchwabenCode.QuickIO.Win32API;
2122

2223
namespace SchwabenCode.QuickIO;
2324

src/QuickIO/LICENSE.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
MIT License
2+
Copyright (c) 2013-2024 Benjamin Abt
3+
4+
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:
5+
6+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7+
8+
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.

src/QuickIO/License.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/QuickIO/QuickIO.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
<IsPackable>true</IsPackable>
66
<PackageReadmeFile>readme.md</PackageReadmeFile>
77
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
8-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
98
</PropertyGroup>
109

10+
<ItemGroup Label="Package Details">
11+
<None Include="readme.md" Pack="true" PackagePath="" />
12+
<None Include="LICENSE.txt" Pack="true" PackagePath="" />
13+
</ItemGroup>
14+
1115
<ItemGroup Label="NuGet">
1216
<PackageReference Include="T4.Build" PrivateAssets="All" />
1317
</ItemGroup>
@@ -188,4 +192,8 @@
188192
<DependentUpon>QuickIOFile_Root_Async.tt</DependentUpon>
189193
</Compile>
190194
</ItemGroup>
195+
196+
<ItemGroup>
197+
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
198+
</ItemGroup>
191199
</Project>

src/QuickIO/QuickIODirectory_Attributes.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#@ template language="C#" hostspecific="true" #>
2-
<#@ include file=".\CodeTemplates\SaveOutput.tt" #>
3-
<#@ include file=".\CodeTemplates\StaticAttributeMethods.tt" #>
2+
<#@ include file="CodeTemplates/SaveOutput.tt" #>
3+
<#@ include file="CodeTemplates/StaticAttributeMethods.tt" #>
44
<#@ output extension=".cs" #>
55
<#
66
Generate("QuickIODirectory");

src/QuickIO/QuickIODirectory_Attributes_Async.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+

12
// ------------------------------------------------------------------------------
23
// <auto-generated>
34
// This code was generated by a T4 template.

src/QuickIO/QuickIODirectory_Attributes_Async.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#@ template language="C#" hostspecific="true" #>
2-
<#@ include file=".\CodeTemplates\SaveOutput.tt" #>
3-
<#@ include file=".\CodeTemplates\StaticAttributeMethods_Async.tt" #>
2+
<#@ include file="CodeTemplates/SaveOutput.tt" #>
3+
<#@ include file="CodeTemplates/StaticAttributeMethods_Async.tt" #>
44
<#@ output extension=".cs" #>
55
<#
66
Generate("QuickIODirectory");

src/QuickIO/QuickIODirectory_FileTime.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#@ template language="C#" hostspecific="true" #>
2-
<#@ include file=".\CodeTemplates\SaveOutput.tt" #>
3-
<#@ include file=".\CodeTemplates\StaticFileTimeMethods.tt" #>
2+
<#@ include file="CodeTemplates/SaveOutput.tt" #>
3+
<#@ include file="CodeTemplates/StaticFileTimeMethods.tt" #>
44
<#@ output extension=".cs" #>
55
<#
66
Generate("QuickIODirectory");

0 commit comments

Comments
 (0)