Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 0 additions & 6 deletions .github/backmerge-failed.md

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj"]'

- name: ⚙️ Setup dotnet versions
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
include-prerelease: true

- name: 🎨 Setup color
run: |
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
Expand All @@ -84,7 +84,7 @@ jobs:
- name: 🛠️ Building docs
uses: nikeee/docfx-action@v1.0.0
with:
args: docs/site/docfx.json
args: docs/site/docfx.json

- name: 🛠️ Deploy to GitHub Pages
if: success()
Expand All @@ -103,7 +103,7 @@ jobs:

- name: ⏩ Merge stable with main, push origin
id: mergeMainline
continue-on-error: true
continue-on-error: true
run: |
git checkout main
git merge -S stable
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: release-preview
concurrency: 'release-preview'

on:
workflow_run:
workflow_run:
workflows: [ 'verification' ]
types: [completed]
branches: [main, v2]

workflow_dispatch:
inputs:
nugetRelease:
description: 'Release to NuGet? Set to "true" to release to NuGet.org as well as GPR.'
description: 'Release to NuGet? Set to "true" to release to NuGet.org as well as GPR.'
required: true
default: 'false'

Expand All @@ -19,30 +19,30 @@ jobs:
if: github.event_name == 'workflow_dispatch' || (github.ref == 'refs/heads/main' && ${{ github.event.workflow_run.conclusion == 'success' }}) || (github.ref == 'refs/heads/v2' && ${{ github.event.workflow_run.conclusion == 'success' }})
runs-on: ubuntu-latest
steps:

- name: 🛒 Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: ⚙️ Setup GIT versioning
uses: dotnet/nbgv@v0.4.0

- name: ⚙️ Setup dotnet versions
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
include-prerelease: true

- name: 🎨 Setup color
run: |
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
echo "TERM=xterm" >> $GITHUB_ENV

- name: 🛠️ Update tokens in project files
uses: cschleiden/replace-tokens@v1
with:
Expand All @@ -53,7 +53,7 @@ jobs:
dotnet pack -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
dotnet pack src/bunit.template/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true

- name: 🛠️ Upload library to GitHub Package Repository
run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/bunit-dev/index.json --skip-duplicate --no-symbols

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:

- name: 🛒 Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.BUNIT_BOT_TOKEN }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
setAllVars: true

- name: ⚙️ Setup dotnet versions
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

- name: ⏩ Merge stable with main, push to origin
id: mergeMainline
continue-on-error: true
continue-on-error: true
run: |
git checkout main
git merge -S stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fetch-depth: 0

- name: ⚙️ Setup dotnet versions
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
Expand Down