Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase v2 on main #1520

Open
wants to merge 98 commits into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
e1bc92c
fix: Only throw bUnit created exceptions to the user (#1519)
linkdotnet Aug 14, 2024
5d1165b
build(deps): Bump Nerdbank.GitVersioning from 3.6.139 to 3.6.141 (#1516)
dependabot[bot] Aug 16, 2024
f124668
Set version to '1.31'
bUnitBot Aug 16, 2024
a735e1b
Set version to '1.32-preview'
bUnitBot Aug 16, 2024
050bb95
Merge branch 'release/v1.31'
bUnitBot Aug 16, 2024
77cfacf
Merge pull request #1522 from bUnit-dev/release/v1.31
egil Aug 16, 2024
fa26750
Updated CHANGELOG.md for 1.31.3 release
bUnitBot Aug 16, 2024
0215cbb
Merge branch 'stable'
bUnitBot Aug 16, 2024
dcf92a4
docs: Added Limitation for UploadFiles
linkdotnet Aug 19, 2024
4b85612
Merge pull request #1525 from bUnit-dev/docs/input-files
egil Aug 23, 2024
01871bb
Merge branch 'stable'
bUnitBot Aug 23, 2024
e2c13d6
chore: Bump packages
linkdotnet Sep 2, 2024
11696fa
docs: Fix heading (#1537)
martincostello Sep 3, 2024
3d03d6f
docs: Fix heading (#1537)
martincostello Sep 3, 2024
f8674d7
docs: Fix AddFakePersistentComponentState examples (Fixes #1539) (#1540)
linkdotnet Sep 4, 2024
f022007
Update main with documentation in stable (#1541)
bUnitBot Sep 4, 2024
4d44cfb
fix: Fix tests for net9
linkdotnet Sep 11, 2024
d6888eb
refactor: Use TheoryData
linkdotnet Sep 11, 2024
c75e9bd
fix: Remove explicit dependency
linkdotnet Sep 12, 2024
10b4525
fix: Use docfx.json as replacement target
linkdotnet Sep 11, 2024
d3b0242
feat: use Central Package Management
linkdotnet Sep 13, 2024
5d2a853
fix: force all tests to use new parallel xunit algorithm
egil Sep 24, 2024
ac8603c
chore: upgrade package dependencies
egil Sep 24, 2024
9175219
ci: add test reporter for easier overview of test results
egil Sep 24, 2024
74da2fa
chore: set correct package versions available on nuget.org
egil Sep 24, 2024
29af08e
ci: collect test reports
egil Sep 24, 2024
31738c4
docs: remove aws from main readme
egil Oct 3, 2024
85f0a07
docs: remove aws from bunit.dev homepage
egil Oct 3, 2024
925cdab
feat(test): DumpCapture that captures memory dump on test failure
egil Sep 24, 2024
d25af3e
fix: increase default timeout to allow expected renders to complete
egil Oct 4, 2024
adf989b
fix: improve exception message to wait for issue
egil Oct 4, 2024
96dba79
ci: use output from nbgv instead of env variables
egil Sep 24, 2024
71c5960
fix: always perform at least one check in WaitFor to avoid timer not …
egil Oct 4, 2024
f709c88
ci: remove NU5128 warning
egil Oct 4, 2024
07e171c
ci: remove test report as it fails on PRs
egil Oct 4, 2024
4a44381
build(deps): Bump xunit from 2.9.1 to 2.9.2
dependabot[bot] Oct 4, 2024
959d371
build(deps): Bump Serilog from 4.0.1 to 4.0.2
dependabot[bot] Oct 4, 2024
d2a9ddb
docs: include wait for change in changelog
egil Oct 4, 2024
1fb99ac
Set version to '1.32'
bUnitBot Oct 4, 2024
f7a5b0a
Set version to '1.33-preview'
bUnitBot Oct 4, 2024
0bce4e8
Merge branch 'release/v1.32'
bUnitBot Oct 4, 2024
cb3fa8f
Merge pull request #1571 from bUnit-dev/release/v1.32
egil Oct 4, 2024
e095b07
Updated CHANGELOG.md for 1.32.7 release
bUnitBot Oct 4, 2024
b9f8911
Merge branch 'stable'
bUnitBot Oct 4, 2024
0f76e56
feat: Respect base properties (#1572)
linkdotnet Oct 7, 2024
8ff1bf3
chore: Bump packages
linkdotnet Oct 7, 2024
dd25f77
feat: Enable constructor injection (#1581)
linkdotnet Oct 10, 2024
2b1e097
fix: Use one central version for System.Text.Json
linkdotnet Oct 11, 2024
464bb0a
docs: Added changelog entry
linkdotnet Oct 11, 2024
932c8ac
Set version to '1.33'
bUnitBot Oct 11, 2024
7e62b73
Set version to '1.34-preview'
bUnitBot Oct 11, 2024
e81ffd8
Merge branch 'release/v1.33'
bUnitBot Oct 11, 2024
76793a1
Merge pull request #1583 from bUnit-dev/release/v1.33
linkdotnet Oct 11, 2024
a95c4be
Updated CHANGELOG.md for 1.33.3 release
bUnitBot Oct 11, 2024
0ed621c
Merge branch 'stable'
bUnitBot Oct 11, 2024
c0260b1
chore: upgrade anglesharp.diffing to 1.0.0
egil Oct 14, 2024
ee3e229
chore: Upgrade packages to combat CVE in dependencies. Fixes #1593
linkdotnet Nov 1, 2024
68b5bcf
docs: Fixed changelog.md
linkdotnet Nov 1, 2024
0cff4c5
Set version to '1.34'
bUnitBot Nov 1, 2024
92fb643
Set version to '1.35-preview'
bUnitBot Nov 1, 2024
527658a
Merge branch 'release/v1.34'
bUnitBot Nov 1, 2024
0312c4b
Merge pull request #1594 from bUnit-dev/release/v1.34
egil Nov 1, 2024
a0cfdc8
Updated CHANGELOG.md for 1.34.0 release
bUnitBot Nov 1, 2024
d5e6da6
Merge branch 'stable'
bUnitBot Nov 1, 2024
52a009b
chore: Update templates for .net9 and make .net9 default (#1598)
linkdotnet Nov 2, 2024
760383c
feat: Flag extensions as stable
linkdotnet Nov 1, 2024
2e45d1d
remove source link package reference not necessary
WeihanLi Nov 6, 2024
bc8e41c
build(deps): Bump dotnet-dump from 8.0.547301 to 9.0.553101
dependabot[bot] Nov 6, 2024
7c633cb
build(deps): Bump docfx from 2.76.0 to 2.77.0
dependabot[bot] Nov 5, 2024
b4879d2
Set version to '1.35'
bUnitBot Nov 12, 2024
605363a
Set version to '1.36-preview'
bUnitBot Nov 12, 2024
d4f774d
Merge branch 'release/v1.35'
bUnitBot Nov 12, 2024
59c5196
Merge pull request #1604 from bUnit-dev/release/v1.35
egil Nov 12, 2024
45e2bb0
Updated CHANGELOG.md for 1.35.3 release
bUnitBot Nov 12, 2024
cb082c3
Merge branch 'stable'
bUnitBot Nov 12, 2024
25146a4
chore: upgrade all packages to dotnet 9
egil Nov 12, 2024
78ae15b
Set version to '1.36'
bUnitBot Nov 12, 2024
8e222e2
Set version to '1.37-preview'
bUnitBot Nov 12, 2024
bf61bac
Merge branch 'release/v1.36'
bUnitBot Nov 12, 2024
ac5f629
Merge pull request #1605 from bUnit-dev/release/v1.36
egil Nov 12, 2024
a8f6182
Updated CHANGELOG.md for 1.36.0 release
bUnitBot Nov 12, 2024
6469425
Merge branch 'stable'
bUnitBot Nov 12, 2024
653f575
docs: update sponsor messages
egil Dec 12, 2024
ab038bb
Merge branch 'stable'
egil Dec 12, 2024
9197071
refactor: remove static uses of PrettyMarkupFormatter (#1609)
SimonCropp Dec 13, 2024
3111b1d
feat: Add RendererInfo support for .net9
linkdotnet Nov 1, 2024
b5bcbd2
feat: Enable RenderMode cascading to the Component
linkdotnet Nov 1, 2024
244680c
fix: support finding render modes specified via @rendermode directive
egil Nov 15, 2024
1e032b9
fix: support passing assigned render mode via parameter builder
egil Nov 15, 2024
a4c5161
docs: Added docs and exposes via TestContext
linkdotnet Nov 27, 2024
46e416c
chore: Update packages
linkdotnet Dec 13, 2024
5a2c0f4
Set version to '1.37'
bUnitBot Dec 13, 2024
9f25866
Set version to '1.38-preview'
bUnitBot Dec 13, 2024
9f84e11
Merge branch 'release/v1.37'
bUnitBot Dec 13, 2024
1bb0b01
Merge pull request #1625 from bUnit-dev/release/v1.37
egil Dec 13, 2024
e6ab135
Merge branch 'stable'
bUnitBot Dec 13, 2024
61cef65
Updated CHANGELOG.md for 1.37.7 release
bUnitBot Dec 13, 2024
4cc05b4
Merge pull request #1629 from bUnit-dev/stable
egil Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
"version": "1.10.175",
"commands": [
"dotnet-serve"
]
],
"rollForward": false
},
"docfx": {
"version": "2.76.0",
"version": "2.78.2",
"commands": [
"docfx"
]
],
"rollForward": false
},
"dotnet-dump": {
"version": "9.0.553101",
"commands": [
"dotnet-dump"
],
"rollForward": false
}
}
}
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
{
"name": "Full",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/dotnet/sdk:9.0-preview",
"image": "mcr.microsoft.com/dotnet/sdk:9.0",
"features": {
"ghcr.io/devcontainers/features/dotnet:2": {
"version": "latest",
"additionalVersions": "7.0,6.0,5.0,3.1"
"additionalVersions": "8.0,7.0,6.0,5.0,3.1"
}
},

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/post-install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/bin/bash

# Install docfx (should be aligned with docs-deploy.yml)
dotnet tool install --global docfx --version 2.74.1
dotnet tool restore

# Trust dotnet developer certs
dotnet dev-certs https --check --trust
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ dotnet_diagnostic.S112.severity = none # S112: General exceptions should never b
dotnet_diagnostic.S1075.severity = suggestion # S1075: URIs should not be hardcoded
dotnet_diagnostic.S1186.severity = suggestion # S1186: Methods should not be empty
dotnet_diagnostic.S2292.severity = suggestion # S2292: Trivial properties should be auto-implemented
dotnet_diagnostic.S3267.severity = suggestion # S3267: Convert foreach loop to LINQ query
dotnet_diagnostic.S4158.severity = none # BUGGY with C#9 code - doesnt understand local methods

# Razor specific rules
Expand Down
40 changes: 30 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:

- name: ⚙️ Setup GIT versioning
uses: dotnet/[email protected]
id: nbgv
with:
setAllVars: true

Expand All @@ -68,7 +69,7 @@ jobs:
with:
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj", "src/Directory.Build.props"]'
env:
RELEASE_VERSION: ${{ env.NBGV_SimpleVersion }}${{ env.NBGV_PrereleaseVersion }}
RELEASE_VERSION: ${{ steps.nbgv.outputs.SimpleVersion }}${{ steps.nbgv.outputs.PrereleaseVersion }}
RELEASE_NOTES: ${{ steps.changelog_reader.outputs.changes }}

# Create the NuGet package in the folder from the environment variable NuGetDirectory
Expand Down Expand Up @@ -136,29 +137,37 @@ jobs:
8.0.x
9.0.x

- name: ⚙️ Restore packages and tools
run: |
dotnet restore
dotnet tool restore

- name: 🧪 Run unit tests
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false
run: dotnet test -c release --no-restore

- name: 📛 Upload hang- and crash-dumps on test failure
if: failure()
uses: actions/upload-artifact@v3
if: success() || failure()
uses: actions/upload-artifact@v4
with:
if-no-files-found: ignore
name: test-dumps
path: |
**/*hangdump.dmp
**/*crashdump.dmp
**/*.dmp
**/*.dmp

validate_template:
validate-template:
runs-on: ubuntu-latest
needs: [ create-nuget ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Get all history to allow automatic versioning using MinVer

- name: Setup .NET
- name: ⚙️ Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
9.0.x

- uses: actions/download-artifact@v4
with:
Expand All @@ -178,20 +187,23 @@ jobs:
run: |
dotnet new bunit --no-restore -o ${{ github.workspace }}/TemplateTestXunit
echo '<?xml version="1.0" encoding="utf-8"?><Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"></Project>' >> ${{ github.workspace }}/TemplateTestXunit/Directory.Build.props
echo '<Project><PropertyGroup><ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally></PropertyGroup></Project>' >> ${{ github.workspace }}/TemplateTestXunit/Directory.Packages.props
dotnet restore ${{ github.workspace }}/TemplateTestXunit --source https://api.nuget.org/v3/index.json --source ${{ env.NUGET_DIRECTORY }}
dotnet test ${{ github.workspace }}/TemplateTestXunit

- name: ✔ Verify NUnit template
run: |
dotnet new bunit --framework nunit --no-restore -o ${{ github.workspace }}/TemplateTestNunit
echo '<?xml version="1.0" encoding="utf-8"?><Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"></Project>' >> ${{ github.workspace }}/TemplateTestNunit/Directory.Build.props
echo '<Project><PropertyGroup><ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally></PropertyGroup></Project>' >> ${{ github.workspace }}/TemplateTestNunit/Directory.Packages.props
dotnet restore ${{ github.workspace }}/TemplateTestNunit --source https://api.nuget.org/v3/index.json --source ${{ env.NUGET_DIRECTORY }}
dotnet test ${{ github.workspace }}/TemplateTestNunit

- name: ✔ Verify MSTest template
run: |
dotnet new bunit --framework mstest --no-restore -o ${{ github.workspace }}/TemplateTestMstest
echo '<?xml version="1.0" encoding="utf-8"?><Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"></Project>' >> ${{ github.workspace }}/TemplateTestMstest/Directory.Build.props
echo '<Project><PropertyGroup><ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally></PropertyGroup></Project>' >> ${{ github.workspace }}/TemplateTestMstest/Directory.Packages.props
dotnet restore ${{ github.workspace }}/TemplateTestMstest --source https://api.nuget.org/v3/index.json --source ${{ env.NUGET_DIRECTORY }}
dotnet test ${{ github.workspace }}/TemplateTestMstest

Expand All @@ -216,15 +228,23 @@ jobs:

- name: ⚙️ Setup GIT versioning
uses: dotnet/[email protected]
id: nbgv
with:
setAllVars: true

- name: 🛠️ Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: Unreleased
path: ./CHANGELOG.md

- name: 🍥 Replace tokens in files
uses: cschleiden/replace-tokens@v1
with:
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj", "src/Directory.Build.props", "docs/site/docfx.json"]'
env:
RELEASE_VERSION: ${{ env.NBGV_SimpleVersion }}${{ env.NBGV_PrereleaseVersion }}
RELEASE_VERSION: ${{ steps.nbgv.outputs.SimpleVersion }}${{ steps.nbgv.outputs.PrereleaseVersion }}
RELEASE_NOTES: ${{ steps.changelog_reader.outputs.changes }}

- name: 📄 Build bUnit
Expand Down Expand Up @@ -254,7 +274,7 @@ jobs:
release-preview:
if: github.event_name == 'workflow_dispatch' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/v2')
runs-on: ubuntu-latest
needs: [ validate-nuget, run-test, validate_template, validate-docs ]
needs: [ validate-nuget, run-test, validate-template, validate-docs ]
steps:
- uses: actions/download-artifact@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:

- name: ⚙️ Setup GIT versioning
uses: dotnet/[email protected]
id: nbgv
with:
setAllVars: true

Expand All @@ -60,10 +61,10 @@ jobs:
with:
path: ./CHANGELOG.md

- name: 🛠️ Update tokens in project files
- name: 🛠️ Update tokens in files
uses: cschleiden/replace-tokens@v1
with:
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj", "src/Directory.Build.props"]'
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/docfx.json", "*.csproj", "**/*.csproj", "src/Directory.Build.props"]'
env:
RELEASE_VERSION: ${{ steps.changelog_reader.outputs.version }}
RELEASE_NOTES: ${{ steps.changelog_reader.outputs.changes }}
Expand Down Expand Up @@ -123,9 +124,8 @@ jobs:
- name: ⏭ Create pull request from stable to main when direct merge fails
if: steps.mergeMainline.outcome == 'failure'
uses: thomaseizinger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
with:
github_token: ${{ secrets.BUNIT_BOT_TOKEN }}
head: stable
base: main
title: Update main with documentation in stable
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
version: Unreleased
path: ./CHANGELOG.md

- name: ⚙️ Setup GIT versioning
uses: dotnet/[email protected]
id: nbgv
with:
setAllVars: true

- name: ☑ Check that release contains changes
if: steps.changelog_reader.outputs.changes == ''
run: |
Expand Down Expand Up @@ -85,12 +91,11 @@ jobs:

- name: ⏭ Create pull request for release branch
uses: thomaseizinger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
with:
head: release/v${{ env.NBGV_MajorMinorVersion }}
github_token: ${{ secrets.BUNIT_BOT_TOKEN }}
head: release/v${{ steps.nbgv.outputs.MajorMinorVersion }}
base: stable
title: Release of new ${{ github.event.inputs.versionIncrement }} version v${{ env.NBGV_MajorMinorVersion }}
title: Release of new ${{ github.event.inputs.versionIncrement }} version v${{ steps.nbgv.outputs.MajorMinorVersion }}
body: |
This PR was created in response to a manual trigger of the [prepare-release workflow](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/rebase-v2-on-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ jobs:
- name: ⏭ Create pull request
if: steps.rebaseV2.outcome == 'failure'
uses: thomaseizinger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
with:
github_token: ${{ secrets.BUNIT_BOT_TOKEN }}
head: main
base: v2
title: Rebase v2 on main
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:

- name: ⚙️ Setup GIT versioning
uses: dotnet/[email protected]
id: nbgv
with:
setAllVars: true

Expand All @@ -65,9 +66,9 @@ jobs:
9.0.x

- name: 🛠️ Update changelog
uses: thomaseizinger/keep-a-changelog-new-release@3.0.0
uses: thomaseizinger/keep-a-changelog-new-release@3.1.0
with:
version: ${{ env.NBGV_SemVer2 }}
version: ${{ steps.nbgv.outputs.SemVer2 }}

- name: 🛠️ Update changelog compare URLs
shell: bash
Expand All @@ -78,30 +79,31 @@ jobs:
- name: 🛠️ Commit CHANGELOG.md to stable branch
run: |
git add CHANGELOG.md
git commit -S -m "Updated CHANGELOG.md for ${{ env.NBGV_SimpleVersion }} release"
git commit -S -m "Updated CHANGELOG.md for ${{ steps.nbgv.outputs.SimpleVersion }} release"
echo "RELEASE_COMMIT_HASH=$(git rev-parse stable)" >> $GITHUB_ENV

- name: 🛠️ Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ env.NBGV_SemVer2 }}
version: ${{ steps.nbgv.outputs.SemVer2 }}
path: ./CHANGELOG.md

- name: 🛠️ Update tokens in project files
uses: cschleiden/replace-tokens@v1
with:
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj", "src/Directory.Build.props"]'
env:
RELEASE_VERSION: ${{ env.NBGV_NuGetPackageVersion }}
RELEASE_VERSION: ${{ steps.nbgv.outputs.NuGetPackageVersion }}
RELEASE_NOTES: ${{ steps.changelog_reader.outputs.changes }}

- name: 🛠️ Packing library in release mode
run: |
dotnet pack src/bunit/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.core/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.web/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.template/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.generators/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.web.query/ -c Release --property:PackageOutputPath=${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true

- name: 🛠️ Upload library to NuGet.org repository
run: |
Expand All @@ -111,16 +113,15 @@ jobs:
run: git push origin stable

- name: 🛠️ Create GitHub release
uses: thomaseizinger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: thomaseizinger/[email protected]
with:
tag_name: v${{ env.NBGV_SemVer2 }}
tag_name: v${{ steps.nbgv.outputs.SemVer2 }}
target_commitish: ${{ env.RELEASE_COMMIT_HASH }}
name: ${{ env.NBGV_SemVer2 }}
name: ${{ steps.nbgv.outputs.SemVer2 }}
body: ${{ steps.changelog_reader.outputs.changes }}
draft: false
prerelease: ${{ env.NBGV_PublicRelease == 'False' }}
prerelease: ${{ steps.nbgv.outputs.PublicRelease == 'False' }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: ⏩ Merge stable with main, push to origin
id: mergeMainline
Expand All @@ -133,12 +134,11 @@ jobs:
- name: ⏭ Create pull request from stable to main when direct merge fails
if: steps.mergeMainline.outcome == 'failure'
uses: thomaseizinger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
with:
github_token: ${{ secrets.BUNIT_BOT_TOKEN }}
head: stable
base: main
title: Update main with changes in stable after v${{ env.NBGV_SemVer2 }} release
title: Update main with changes in stable after v${{ steps.nbgv.outputs.SemVer2 }} release
reviewers: ${{ github.actor }} # By default, we request a review from the person who triggered the workflow.
body: |
Hi @${{ github.actor }}
Expand Down
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
{
"label": "Serve Docs (Without Build)",
"type": "shell",
"command": "docfx metadata docs/site/docfx.json && docfx docs/site/docfx.json --serve"
"command": "dotnet docfx metadata docs/site/docfx.json && dotnet docfx docs/site/docfx.json --serve"
},
{
"label": "Serve Docs (With Build for API Documentation)",
"type": "shell",
"command": "dotnet build -c Release && docfx metadata docs/site/docfx.json && docfx docs/site/docfx.json --serve"
"command": "dotnet build -c Release && dotnet docfx metadata docs/site/docfx.json && docfx docs/site/docfx.json --serve"
},
{
"label": "Run all tests (Release Mode)",
Expand Down
Loading
Loading