Skip to content

Commit e44e14e

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59 - Make sure build runs before pack devlooped/oss@ede013a - Switch to PackOnBuild=true and remove pack step devlooped/oss@6e7a3ab - Upload binlog artifact on debug runs devlooped/oss@a67ae78 - Set env:gh_token if present as secret devlooped/oss@97ebd18 - Update to checkout@v4 devlooped/oss@5fb1723 - Set Version from VersionLabel if it's a refs/tags/ devlooped/oss@57653a2 - Cleanup build and publish to use VersionLabel devlooped/oss@14deaea - Fix dependabot group for tests devlooped/oss@49661db - Improve default value for GenerateDocumentationFile devlooped/oss@b76de49 - Add common sponsors metadata to assemblies devlooped/oss@0789bf0 - Update assembly metadata format for Funding.GitHub devlooped/oss@5801de0 - SponsorLink metadata will be opt-in only by analyzer projects devlooped/oss@c618ea8 - Automatically use the new terminal logger if possible devlooped/oss@27a5c9a - Allow choosing build configuration on dispatch devlooped/oss@fef4635 - Update publish.yml to include prereleased publish devlooped/oss@d793e7a - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d - Only ignore App folder directly under the root devlooped/oss@02811fa - Don't add random wait on manual dotnet-file runs devlooped/oss@7afe350 - Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757 - Only commit markdown files when resolving includes devlooped/oss@2c10a83 - Fix typo in targets devlooped/oss@33a20db
1 parent ead977c commit e44e14e

12 files changed

+87
-86
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ updates:
2929
- "Microsoft.AspNetCore*"
3030
Tests:
3131
patterns:
32-
- "Microsoft.NET.Tests*"
32+
- "Microsoft.NET.Test*"
3333
- "xunit*"
3434
- "coverlet*"
3535
ThisAssembly:

.github/workflows/build.yml

+21-12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
name: build
55
on:
66
workflow_dispatch:
7+
inputs:
8+
configuration:
9+
type: choice
10+
description: Configuration
11+
options:
12+
- Release
13+
- Debug
714
push:
815
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
916
paths-ignore:
@@ -17,8 +24,13 @@ on:
1724

1825
env:
1926
DOTNET_NOLOGO: true
27+
PackOnBuild: true
28+
GeneratePackageOnBuild: true
2029
VersionPrefix: 42.42.${{ github.run_number }}
2130
VersionLabel: ${{ github.ref }}
31+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
32+
MSBUILDTERMINALLOGGER: auto
33+
Configuration: ${{ github.event.inputs.configuration || 'Release' }}
2234

2335
defaults:
2436
run:
@@ -31,7 +43,7 @@ jobs:
3143
matrix: ${{ steps.lookup.outputs.matrix }}
3244
steps:
3345
- name: 🤘 checkout
34-
uses: actions/checkout@v2
46+
uses: actions/checkout@v4
3547

3648
- name: 🔎 lookup
3749
id: lookup
@@ -50,7 +62,7 @@ jobs:
5062
os: ${{ fromJSON(needs.os-matrix.outputs.matrix) }}
5163
steps:
5264
- name: 🤘 checkout
53-
uses: actions/checkout@v2
65+
uses: actions/checkout@v4
5466
with:
5567
submodules: recursive
5668
fetch-depth: 0
@@ -67,8 +79,12 @@ jobs:
6779
- name: 🧪 test
6880
uses: ./.github/workflows/test
6981

70-
- name: 📦 pack
71-
run: dotnet pack -m:1 -bl:pack.binlog
82+
- name: 🐛 logs
83+
uses: actions/upload-artifact@v3
84+
if: runner.debug && always()
85+
with:
86+
name: logs
87+
path: '*.binlog'
7288

7389
# Only push CI package to sleet feed if building on ubuntu (fastest)
7490
- name: 🚀 sleet
@@ -79,18 +95,11 @@ jobs:
7995
dotnet tool install -g --version 4.0.18 sleet
8096
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"
8197
82-
- name: 🐛 logs
83-
uses: actions/upload-artifact@v3
84-
if: runner.debug && always()
85-
with:
86-
name: logs
87-
path: '*.binlog'
88-
8998
dotnet-format:
9099
runs-on: ubuntu-latest
91100
steps:
92101
- name: 🤘 checkout
93-
uses: actions/checkout@v2
102+
uses: actions/checkout@v4
94103
with:
95104
submodules: recursive
96105
fetch-depth: 0

.github/workflows/changelog.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
github_token: ${{ secrets.GITHUB_TOKEN }}
1818

1919
- name: 🤘 checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323
ref: main

.github/workflows/dotnet-file.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ jobs:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525

2626
- name: 🤘 checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030
ref: main
3131
token: ${{ env.GH_TOKEN }}
3232

3333
- name: ⌛ rate
3434
shell: pwsh
35+
if: github.event_name != 'workflow_dispatch'
3536
run: |
3637
# add random sleep since we run on fixed schedule
3738
sleep (get-random -max 60)
@@ -70,7 +71,7 @@ jobs:
7071
validate: false
7172

7273
- name: ✍ pull request
73-
uses: peter-evans/create-pull-request@v4
74+
uses: peter-evans/create-pull-request@v6
7475
with:
7576
base: main
7677
branch: dotnet-file-sync

.github/workflows/includes.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ jobs:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
2222

2323
- name: 🤘 checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525
with:
2626
token: ${{ env.GH_TOKEN }}
2727

2828
- name: +Mᐁ includes
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

+13-11
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,39 @@
55
name: publish
66
on:
77
release:
8-
types: [released]
8+
types: [prereleased, released]
99

1010
env:
1111
DOTNET_NOLOGO: true
1212
Configuration: Release
13-
13+
PackOnBuild: true
14+
GeneratePackageOnBuild: true
15+
VersionLabel: ${{ github.ref }}
16+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
17+
MSBUILDTERMINALLOGGER: auto
18+
1419
jobs:
1520
publish:
1621
runs-on: ubuntu-latest
1722
steps:
1823
- name: 🤘 checkout
19-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2025
with:
2126
submodules: recursive
2227
fetch-depth: 0
2328

2429
- name: 🙏 build
25-
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:build.binlog
30+
run: dotnet build -m:1 -bl:build.binlog
2631

2732
- name: 🧪 test
2833
uses: ./.github/workflows/test
2934

30-
- name: 📦 pack
31-
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:pack.binlog
32-
33-
- name: 🚀 nuget
34-
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
35-
3635
- name: 🐛 logs
3736
uses: actions/upload-artifact@v3
3837
if: runner.debug && always()
3938
with:
4039
name: logs
41-
path: '*.binlog'
40+
path: '*.binlog'
41+
42+
- name: 🚀 nuget
43+
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

.github/workflows/sponsor.yml

-24
This file was deleted.

.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

+18-23
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929
weak
3030
[file ".github/workflows/changelog.yml"]
3131
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
32-
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
33-
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
32+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
33+
etag = ad1efa56d6024ee1add2bcda81a7e4e38d0e9069473c6ff70374d5ce06af1f5a
3434
weak
3535
[file ".github/dependabot.yml"]
3636
url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml
37-
sha = 35ca3f3405452465058d89005f8a88a65847c377
38-
etag = f8080f8f04d87529e90d9a66751d304a7141196fb9734aa2d110784e52e66898
37+
sha = 49661dbf0720cde93eb5569be7523b5912351560
38+
etag = c147ea2f3431ca0338c315c4a45b56ee233c4d30f8d6ab698d0e1980a257fd6a
3939
weak
4040
[file ".github/workflows/dotnet-file.yml"]
4141
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
42-
sha = f08c3f28e46e28eb31e70846d65e57aa9553ce56
43-
etag = 567444486383d032c1c5fbc538f07e860f92b1d08c66ac6ffb1db64ca539251c
42+
sha = 7afe350f7e80a230e922db026d4e1198ba15cae1
43+
etag = 65e9794df6caff779eb989c8f71ddf4d4109b24a75af79e4f8d0fe6ba7bd9702
4444
weak
4545
[file "license.txt"]
4646
url = https://github.com/devlooped/oss/blob/main/license.txt
@@ -54,13 +54,13 @@
5454
weak
5555
[file "src/Directory.Build.props"]
5656
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
57-
sha = b1d14c6379e5820eb2c30e08bedbdf6e9c8e8cb2
58-
etag = 33cd19e0f599f444c320406da3452e9e84d28c3bb13c09e9190d9d2e7f129545
57+
sha = b76de49afb376aa48eb172963ed70663b59b31d3
58+
etag = c8b56f3860cc7ccb8773b7bd6189f5c7a6e3a2c27e9104c1ee201fbdc5af9873
5959
weak
6060
[file "src/Directory.Build.targets"]
6161
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
62-
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
63-
etag = 7cb1421f00d9f6f4c00f0ca98e485dcadb927cfa6b3f0b5d4fb212525d2ce9c0
62+
sha = 33a20db26e47589769284817b271ce67ea9ccfd8
63+
etag = 1a3a0151b5771ee97ed8351254ff4c18a0ff568e0df5c33c6830f069bfbb067b
6464
weak
6565
[file "src/nuget.config"]
6666
url = https://github.com/devlooped/oss/blob/main/src/nuget.config
@@ -83,8 +83,8 @@
8383
[file ".github/workflows/build.yml"]
8484
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
8585
weak
86-
sha = 13d67e2cf3f786c8189364fd29332aaa7dc575dc
87-
etag = c616df0877fba60002ccfc0397e9f731ddb22acbbb195a0598fedd4cac5f3135
86+
sha = fef463525739d0fb514dfb9e2bcbc2b1e5f81e38
87+
etag = 7ab5fbbf1235cdb0c2216ef236c25f8c5ce0f28d372109817f1ae62cacc62ec1
8888
[file ".github/workflows/changelog.config"]
8989
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
9090
sha = 055a8b7c94b74ae139cce919d60b83976d2a9942
@@ -97,23 +97,18 @@
9797
weak
9898
[file ".github/workflows/includes.yml"]
9999
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
100-
sha = ac753b791d03997eb655efb26ae141b51addd1c0
101-
etag = fcd94a08ac9ebc0e8351deac4e7f085cf8ef67816cc50006e068f44166096eb8
100+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
101+
etag = e5ee22e115c925fb85ec931cda3ac811fcc453c03904554fa3f573935b221d34
102102
weak
103103
[file ".github/workflows/publish.yml"]
104104
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
105105
weak
106-
sha = d3022567c9ef2bc9461511e53b8abe065afdf03b
107-
etag = 58601b5a71c805647ab26e84053acdfb8d174eaa93330487af8a5503753c5707
108-
[file ".github/workflows/sponsor.yml"]
109-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
110-
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
111-
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
112-
weak
106+
sha = 27a5c9a5f58f901056d4b048a79ba5843c6f6789
107+
etag = 2bc45eaf0bb289ced535c2720975c573ff70841edf1181885e64614e2cafb89f
113108
[file ".gitignore"]
114109
url = https://github.com/devlooped/oss/blob/main/.gitignore
115-
sha = ef852e7d2ec9a845dac272dfc479909c0bc6d9f3
116-
etag = a556d6108892aa8e7e63476f4fad3a898b3ec1deda94332dd4e89d2fb6b555ca
110+
sha = 02811fa23b0a102b9b33048335d41e515bf75737
111+
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
117112
weak
118113
[file "Directory.Build.rsp"]
119114
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp

readme.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -438,21 +438,18 @@ The versioning scheme for packages is:
438438
[![Stephen Shaw](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/decriptor.png "Stephen Shaw")](https://github.com/decriptor)
439439
[![Torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png "Torutek")](https://github.com/torutek-gh)
440440
[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png "DRIVE.NET, Inc.")](https://github.com/drivenet)
441-
[![Daniel Gnägi](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dgnaegi.png "Daniel Gnägi")](https://github.com/dgnaegi)
442441
[![Ashley Medway](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/AshleyMedway.png "Ashley Medway")](https://github.com/AshleyMedway)
443442
[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon)
444443
[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon)
445444
[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis)
446445
[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel)
447446
[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi)
448-
[![Mike James](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MikeCodesDotNET.png "Mike James")](https://github.com/MikeCodesDotNET)
447+
[![Uno Platform](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png "Uno Platform")](https://github.com/unoplatform)
449448
[![Dan Siegel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png "Dan Siegel")](https://github.com/dansiegel)
450449
[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz)
451450
[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee)
452451
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png "")](https://github.com/Mrxx99)
453452
[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson")](https://github.com/eajhnsn1)
454-
[![Norman Mackay](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mackayn.png "Norman Mackay")](https://github.com/mackayn)
455-
[![Certify The Web](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/certifytheweb.png "Certify The Web")](https://github.com/certifytheweb)
456453
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
457454
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
458455
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
@@ -462,13 +459,14 @@ The versioning scheme for packages is:
462459
[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander)
463460
[![Tino Hager](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tinohager.png "Tino Hager")](https://github.com/tinohager)
464461
[![Mark Seemann](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ploeh.png "Mark Seemann")](https://github.com/ploeh)
465-
[![Angelo Belchior](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/angelobelchior.png "Angelo Belchior")](https://github.com/angelobelchior)
466462
[![Ken Bonny](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png "Ken Bonny")](https://github.com/KenBonny)
467463
[![Simon Cropp](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png "Simon Cropp")](https://github.com/SimonCropp)
468464
[![agileworks-eu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png "agileworks-eu")](https://github.com/agileworks-eu)
469-
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "")](https://github.com/sorahex)
465+
[![sorahex](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "sorahex")](https://github.com/sorahex)
470466
[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly)
471467
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
468+
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
469+
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
472470
473471

474472
<!-- sponsors.md -->

0 commit comments

Comments
 (0)