Skip to content

Commit 0ea53d1

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Upload binlog artifact on debug runs devlooped/oss@a67ae78 - Set env:gh_token if present as secret devlooped/oss@97ebd18 - Only ignore App folder directly under the root devlooped/oss@02811fa - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d
1 parent 093fae5 commit 0ea53d1

File tree

7 files changed

+39
-17
lines changed

7 files changed

+39
-17
lines changed

.github/workflows/build.yml

+9-1
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

+1-1
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/publish.yml

+9-1
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

+1-1
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

+10-10
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,8 +52,8 @@
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
@@ -62,8 +62,8 @@
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,8 +102,8 @@
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 = 6dfe21fbd4a8390448958c714f8e9006fc4ac3ca
106+
etag = de7c6b643bac2fc6651fa08f69d628cbbe12e7050829b981ac771e1b9ccccd89
107107
weak
108108
[file "src/Directory.Build.targets"]
109109
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,21 +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)
5553
[![Certify The Web](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/certifytheweb.png "Certify The Web")](https://github.com/certifytheweb)
5654
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
5755
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
@@ -69,6 +67,8 @@ foreach (var content in pub.Package.Navigation)
6967
[![sorahex](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "sorahex")](https://github.com/sorahex)
7068
[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly)
7169
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
70+
[![Michael Staib](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/michaelstaib.png "Michael Staib")](https://github.com/michaelstaib)
71+
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
7272

7373

7474
<!-- sponsors.md -->

src/Directory.Build.props

+6
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@
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')" />
147153
</Project>

0 commit comments

Comments
 (0)