Skip to content

Commit 4dcde68

Browse files
authored
chore: Update setup-action (#906)
* chore: Update setup-action * chore: Remove unused file
1 parent a2b570c commit 4dcde68

File tree

5 files changed

+16
-22
lines changed

5 files changed

+16
-22
lines changed

.github/backmerge-failed.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/docs-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ jobs:
6161
files: '["docs/site/*.md", "docs/**/*.md", "docs/**/*.tmpl.partial", "*.csproj", "**/*.csproj"]'
6262

6363
- name: ⚙️ Setup dotnet versions
64-
uses: actions/setup-dotnet@v2
64+
uses: actions/setup-dotnet@v3
6565
with:
6666
dotnet-version: |
6767
3.1.x
6868
5.0.x
6969
6.0.x
7070
7.0.x
7171
include-prerelease: true
72-
72+
7373
- name: 🎨 Setup color
7474
run: |
7575
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
@@ -84,7 +84,7 @@ jobs:
8484
- name: 🛠️ Building docs
8585
uses: nikeee/[email protected]
8686
with:
87-
args: docs/site/docfx.json
87+
args: docs/site/docfx.json
8888

8989
- name: 🛠️ Deploy to GitHub Pages
9090
if: success()
@@ -103,7 +103,7 @@ jobs:
103103

104104
- name: ⏩ Merge stable with main, push origin
105105
id: mergeMainline
106-
continue-on-error: true
106+
continue-on-error: true
107107
run: |
108108
git checkout main
109109
git merge -S stable

.github/workflows/release-preview.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: release-preview
22
concurrency: 'release-preview'
33

44
on:
5-
workflow_run:
5+
workflow_run:
66
workflows: [ 'verification' ]
77
types: [completed]
88
branches: [main, v2]
99

1010
workflow_dispatch:
1111
inputs:
1212
nugetRelease:
13-
description: 'Release to NuGet? Set to "true" to release to NuGet.org as well as GPR.'
13+
description: 'Release to NuGet? Set to "true" to release to NuGet.org as well as GPR.'
1414
required: true
1515
default: 'false'
1616

@@ -19,30 +19,30 @@ jobs:
1919
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' }})
2020
runs-on: ubuntu-latest
2121
steps:
22-
22+
2323
- name: 🛒 Checkout repository
2424
uses: actions/checkout@v2
2525
with:
2626
fetch-depth: 0
2727

2828
- name: ⚙️ Setup GIT versioning
2929
uses: dotnet/[email protected]
30-
30+
3131
- name: ⚙️ Setup dotnet versions
32-
uses: actions/setup-dotnet@v2
32+
uses: actions/setup-dotnet@v3
3333
with:
3434
dotnet-version: |
3535
3.1.x
3636
5.0.x
3737
6.0.x
3838
7.0.x
3939
include-prerelease: true
40-
40+
4141
- name: 🎨 Setup color
4242
run: |
4343
echo "DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION=1" >> $GITHUB_ENV
4444
echo "TERM=xterm" >> $GITHUB_ENV
45-
45+
4646
- name: 🛠️ Update tokens in project files
4747
uses: cschleiden/replace-tokens@v1
4848
with:
@@ -53,7 +53,7 @@ jobs:
5353
dotnet pack -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
5454
dotnet pack src/bunit/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
5555
dotnet pack src/bunit.template/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true -p:publicrelease=true
56-
56+
5757
- name: 🛠️ Upload library to GitHub Package Repository
5858
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
5959

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323

2424
- name: 🛒 Checkout repository
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626
with:
2727
fetch-depth: 0
2828
token: ${{ secrets.BUNIT_BOT_TOKEN }}
@@ -60,7 +60,7 @@ jobs:
6060
setAllVars: true
6161

6262
- name: ⚙️ Setup dotnet versions
63-
uses: actions/setup-dotnet@v2
63+
uses: actions/setup-dotnet@v3
6464
with:
6565
dotnet-version: |
6666
3.1.x
@@ -118,7 +118,7 @@ jobs:
118118

119119
- name: ⏩ Merge stable with main, push to origin
120120
id: mergeMainline
121-
continue-on-error: true
121+
continue-on-error: true
122122
run: |
123123
git checkout main
124124
git merge -S stable

.github/workflows/verification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fetch-depth: 0
3838

3939
- name: ⚙️ Setup dotnet versions
40-
uses: actions/setup-dotnet@v2
40+
uses: actions/setup-dotnet@v3
4141
with:
4242
dotnet-version: |
4343
3.1.x

0 commit comments

Comments
 (0)