Skip to content

Commit e4a6714

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Remove dependency on ThisAssembly devlooped/oss@c879f25 - Rename sample assemblies for nicer display devlooped/oss@93df7c7 - Minor code simplification devlooped/oss@cf154d5 - Add our implementation of JWT manifest reading and reporting devlooped/oss@a0ae727 - Whitespace and formatting devlooped/oss@d74f511 - Fix path to jwk.ps1 alongside the SponsorLink.targets devlooped/oss@c4830fc - Add nullable and generated code annotations devlooped/oss@b2a11fa - Minimal docs on consuming devlooped/oss@827a1d1 - Dynamically fetch devlooped JWK from github devlooped/oss@55124bc - Improve versioning of sample package devlooped/oss@3b943f5 - Fix scenario where multiple packages share product name devlooped/oss@23f83bd - SponsorLink-enabled analyzers need copylocal devlooped/oss@7593657 - Simplify and unify manifest reading implementation devlooped/oss@4fca946 - 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 - Cleanup build and publish to use VersionLabel devlooped/oss@14deaea - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d - 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 - Only ignore App folder directly under the root devlooped/oss@02811fa - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59 - Set Version from VersionLabel if it's a refs/tags/ devlooped/oss@57653a2
1 parent f2dcabd commit e4a6714

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2843
-38
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ on:
1717

1818
env:
1919
DOTNET_NOLOGO: true
20-
VersionPrefix: 42.42.${{ github.run_number }}
21-
VersionLabel: ${{ github.ref }}
2220
PackOnBuild: true
2321
GeneratePackageOnBuild: true
22+
VersionPrefix: 42.42.${{ github.run_number }}
23+
VersionLabel: ${{ github.ref }}
24+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2425

2526
defaults:
2627
run:
@@ -33,7 +34,7 @@ jobs:
3334
matrix: ${{ steps.lookup.outputs.matrix }}
3435
steps:
3536
- name: 🤘 checkout
36-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
3738

3839
- name: 🔎 lookup
3940
id: lookup
@@ -52,13 +53,13 @@ jobs:
5253
os: ${{ fromJSON(needs.os-matrix.outputs.matrix) }}
5354
steps:
5455
- name: 🤘 checkout
55-
uses: actions/checkout@v2
56+
uses: actions/checkout@v4
5657
with:
5758
submodules: recursive
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:
@@ -82,7 +90,7 @@ jobs:
8290
runs-on: ubuntu-latest
8391
steps:
8492
- name: 🤘 checkout
85-
uses: actions/checkout@v2
93+
uses: actions/checkout@v4
8694
with:
8795
submodules: recursive
8896
fetch-depth: 0

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,31 @@ env:
1212
Configuration: Release
1313
PackOnBuild: true
1414
GeneratePackageOnBuild: true
15+
VersionLabel: ${{ github.ref }}
16+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1517

1618
jobs:
1719
publish:
1820
runs-on: ubuntu-latest
1921
steps:
2022
- name: 🤘 checkout
21-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2224
with:
2325
submodules: recursive
2426
fetch-depth: 0
2527

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

2931
- name: 🧪 test
3032
uses: ./.github/workflows/test
3133

34+
- name: 🐛 logs
35+
uses: actions/upload-artifact@v3
36+
if: runner.debug && always()
37+
with:
38+
name: logs
39+
path: '*.binlog'
40+
3241
- name: 🚀 nuget
3342
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: 🤘 checkout
1717
if: env.token != ''
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919

2020
- name: 💜 sponsor
2121
if: env.token != ''

.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

0 commit comments

Comments
 (0)