Skip to content

Commit 0df4bcb

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Upload binlog artifact on debug runs devlooped/oss@a67ae78 - Only ignore App folder directly under the root devlooped/oss@02811fa - Set env:gh_token if present as secret devlooped/oss@97ebd18 - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Add common sponsors metadata to assemblies devlooped/oss@0789bf0 - Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59 - Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757 - Only commit markdown files when resolving includes devlooped/oss@2c10a83 - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d
1 parent 093fae5 commit 0df4bcb

File tree

9 files changed

+55
-23
lines changed

9 files changed

+55
-23
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ env:
2121
VersionLabel: ${{ github.ref }}
2222
PackOnBuild: true
2323
GeneratePackageOnBuild: true
24+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2425

2526
defaults:
2627
run:
@@ -58,7 +59,7 @@ jobs:
5859
fetch-depth: 0
5960

6061
- name: 🙏 build
61-
run: dotnet build -m:1
62+
run: dotnet build -m:1 -bl:build.binlog
6263

6364
- name: ⚙ GNU grep
6465
if: matrix.os == 'macOS-latest'
@@ -69,6 +70,13 @@ jobs:
6970
- name: 🧪 test
7071
uses: ./.github/workflows/test
7172

73+
- name: 🐛 logs
74+
uses: actions/upload-artifact@v3
75+
if: runner.debug && always()
76+
with:
77+
name: logs
78+
path: '*.binlog'
79+
7280
# Only push CI package to sleet feed if building on ubuntu (fastest)
7381
- name: 🚀 sleet
7482
env:

.github/workflows/dotnet-file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
validate: false
7171

7272
- name: ✍ pull request
73-
uses: peter-evans/create-pull-request@v4
73+
uses: peter-evans/create-pull-request@v6
7474
with:
7575
base: main
7676
branch: dotnet-file-sync

.github/workflows/includes.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
uses: devlooped/actions-includes@v1
3030

3131
- name: ✍ pull request
32-
uses: peter-evans/create-pull-request@v4
32+
uses: peter-evans/create-pull-request@v6
3333
with:
34+
add-paths: '**/*.md'
3435
base: main
3536
branch: markdown-includes
3637
delete-branch: true

.github/workflows/publish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
Configuration: Release
1313
PackOnBuild: true
1414
GeneratePackageOnBuild: true
15+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1516

1617
jobs:
1718
publish:
@@ -24,10 +25,17 @@ jobs:
2425
fetch-depth: 0
2526

2627
- name: 🙏 build
27-
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}
28+
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:build.binlog
2829

2930
- name: 🧪 test
3031
uses: ./.github/workflows/test
3132

33+
- name: 🐛 logs
34+
uses: actions/upload-artifact@v3
35+
if: runner.debug && always()
36+
with:
37+
name: logs
38+
path: '*.binlog'
39+
3240
- name: 🚀 nuget
3341
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
bin
2-
app
32
obj
43
artifacts
54
pack
65
TestResults
76
results
87
BenchmarkDotNet.Artifacts
8+
/app
99
.vs
1010
.vscode
1111
.idea

.netconfig

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
weak
3838
[file ".github/workflows/build.yml"]
3939
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
40-
sha = 6e7a3ab866a523d036e95066ab63351b63cc8a24
41-
etag = 11c16867077f1d67b23a75e83556d3cd761aa6a69fd6c6bbed7d0f6b202c33da
40+
sha = 97ebd189e44da857e53e4d98af2727dd9dcb0740
41+
etag = f02775f5cdf8ba06238500e56bc25ca1e0aa329db4931f230c45bd1d7de1696d
4242
weak
4343
[file ".github/workflows/changelog.config"]
4444
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
@@ -52,18 +52,18 @@
5252
weak
5353
[file ".github/workflows/dotnet-file.yml"]
5454
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
55-
sha = f08c3f28e46e28eb31e70846d65e57aa9553ce56
56-
etag = 567444486383d032c1c5fbc538f07e860f92b1d08c66ac6ffb1db64ca539251c
55+
sha = 11a331d50be517c29df5ab1358ef354d8871d59a
56+
etag = de115efac25b63d561d8b2ffcba3e7710bfef7bfefecb811ea943b6f2bd8de96
5757
weak
5858
[file ".github/workflows/includes.yml"]
5959
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
60-
sha = ac753b791d03997eb655efb26ae141b51addd1c0
61-
etag = fcd94a08ac9ebc0e8351deac4e7f085cf8ef67816cc50006e068f44166096eb8
60+
sha = 2c10a8351f61b0351c3db105445e032faa5c18aa
61+
etag = 3089f53e81f72b4d751548ff64e9fecbaa5ba2c6cd029d9288aab4e8f81580e1
6262
weak
6363
[file ".github/workflows/publish.yml"]
6464
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
65-
sha = 6e7a3ab866a523d036e95066ab63351b63cc8a24
66-
etag = d2ca0380f60f4396fcf250abe334da9a3edeac6612f9d77e5dd8a93d30e46b6c
65+
sha = 97ebd189e44da857e53e4d98af2727dd9dcb0740
66+
etag = 04a0796e61476765c0a233806e85fb3f461d7cf099a14c91e6c5abcab938062f
6767
weak
6868
[file ".github/workflows/sponsor.yml"]
6969
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
@@ -77,8 +77,8 @@
7777
weak
7878
[file ".gitignore"]
7979
url = https://github.com/devlooped/oss/blob/main/.gitignore
80-
sha = ef852e7d2ec9a845dac272dfc479909c0bc6d9f3
81-
etag = a556d6108892aa8e7e63476f4fad3a898b3ec1deda94332dd4e89d2fb6b555ca
80+
sha = 02811fa23b0a102b9b33048335d41e515bf75737
81+
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
8282
weak
8383
[file "Directory.Build.rsp"]
8484
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
@@ -102,11 +102,11 @@
102102
weak
103103
[file "src/Directory.Build.props"]
104104
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
105-
sha = b1d14c6379e5820eb2c30e08bedbdf6e9c8e8cb2
106-
etag = 33cd19e0f599f444c320406da3452e9e84d28c3bb13c09e9190d9d2e7f129545
105+
sha = 6e96c592c7b44bfda10404b9f90e4b8fab299249
106+
etag = a4925eb815bbcecc022de8d3245db069573d96ac5ecdf5f0e604f06b5577b01e
107107
weak
108108
[file "src/Directory.Build.targets"]
109109
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
110-
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
111-
etag = 7cb1421f00d9f6f4c00f0ca98e485dcadb927cfa6b3f0b5d4fb212525d2ce9c0
110+
sha = 0789bf0988ea61b8dfa601d5769e68dc885ffb71
111+
etag = d44a194fd2bc6d564dea8c08245e20856f93ddf155f4acaf8dbfc9f088314737
112112
weak

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,19 @@ foreach (var content in pub.Package.Navigation)
3737
[![Stephen Shaw](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/decriptor.png "Stephen Shaw")](https://github.com/decriptor)
3838
[![Torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png "Torutek")](https://github.com/torutek-gh)
3939
[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png "DRIVE.NET, Inc.")](https://github.com/drivenet)
40-
[![Daniel Gnägi](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dgnaegi.png "Daniel Gnägi")](https://github.com/dgnaegi)
4140
[![Ashley Medway](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/AshleyMedway.png "Ashley Medway")](https://github.com/AshleyMedway)
4241
[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon)
4342
[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon)
4443
[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis)
45-
[![Sean Killeen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SeanKilleen.png "Sean Killeen")](https://github.com/SeanKilleen)
4644
[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel)
4745
[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi)
4846
[![Mike James](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MikeCodesDotNET.png "Mike James")](https://github.com/MikeCodesDotNET)
47+
[![Uno Platform](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png "Uno Platform")](https://github.com/unoplatform)
4948
[![Dan Siegel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png "Dan Siegel")](https://github.com/dansiegel)
5049
[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz)
5150
[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee)
5251
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png "")](https://github.com/Mrxx99)
5352
[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson")](https://github.com/eajhnsn1)
54-
[![Norman Mackay](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mackayn.png "Norman Mackay")](https://github.com/mackayn)
55-
[![Certify The Web](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/certifytheweb.png "Certify The Web")](https://github.com/certifytheweb)
5653
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
5754
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
5855
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
@@ -69,6 +66,9 @@ foreach (var content in pub.Package.Navigation)
6966
[![sorahex](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "sorahex")](https://github.com/sorahex)
7067
[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly)
7168
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
69+
[![Michael Staib](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/michaelstaib.png "Michael Staib")](https://github.com/michaelstaib)
70+
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
71+
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
7272

7373

7474
<!-- sponsors.md -->

src/Directory.Build.props

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@
142142
<ProjectProperty Include="PublicKeyToken" />
143143
</ItemGroup>
144144

145+
<ItemGroup Label="Throw">
146+
<Using Include="System.ArgumentException" Static="true" />
147+
<Using Include="System.ArgumentOutOfRangeException" Static="true" />
148+
<Using Include="System.ArgumentNullException" Static="true" />
149+
</ItemGroup>
150+
145151
<Import Project="Directory.props" Condition="Exists('Directory.props')"/>
146152
<Import Project="Directory.props.user" Condition="Exists('Directory.props.user')" />
153+
154+
<!-- Implemented by SDK in .targets, guaranteeing it's overwritten. Added here since we add a DependsOnTargets to it.
155+
Covers backwards compatiblity with non-SDK projects. -->
156+
<Target Name="InitializeSourceControlInformation" />
147157
</Project>

src/Directory.Build.targets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@
115115
</EmbeddedResource>
116116
</ItemGroup>
117117

118+
<ItemGroup Label="Sponsors">
119+
<AssemblyMetadata Include="Funding.PublicKey" Value="MIIBigKCAYEA5inhv8QymaDBOihNi1eY+6+hcIB5qSONFZxbxxXAyOtxAdjFCPM+94gIZqM9CDrX3pyg1lTJfml/a/FZSU9dB1ii5mSX/mNHBFXn1/l/gi1ErdbkIF5YbW6oxWFxf3G5mwVXwnPfxHTyQdmWQ3YJR+A3EB4kaFwLqA6Ha5lb2ObGpMTQJNakD4oTAGDhqHMGhu6PupGq5ie4qZcQ7N8ANw8xH7nicTkbqEhQABHWOTmLBWq5f5F6RYGF8P7cl0IWl/w4YcIZkGm2vX2fi26F9F60cU1v13GZEVDTXpJ9kzvYeM9sYk6fWaoyY2jhE51qbv0B0u6hScZiLREtm3n7ClJbIGXhkUppFS2JlNaX3rgQ6t+4LK8gUTyLt3zDs2H8OZyCwlCpfmGmdsUMkm1xX6t2r+95U3zywynxoWZfjBCJf41leM9OMKYwNWZ6LQMyo83HWw1PBIrX4ZLClFwqBcSYsXDyT8/ZLd1cdYmPfmtllIXxZhLClwT5qbCWv73VAgMBAAE=" />
120+
<AssemblyMetadata Include="Funding.GitHub" Value="devlooped" />
121+
</ItemGroup>
122+
118123
<Target Name="IsPackable" Returns="@(IsPackable)">
119124
<ItemGroup>
120125
<IsPackable Include="$(MSBuildProjectFullPath)" IsPackable="$(IsPackable)" PackageId="$(PackageId)" />

0 commit comments

Comments
 (0)