Skip to content

Commit 9434246

Browse files
authored
Update GitHub Actions packages (#14)
2 parents 88613c2 + ae87d00 commit 9434246

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: build
22

33
on:
44
push:
5-
branches: [ main, nuspec ]
65
pull_request:
76
branches: [ main ]
87

@@ -21,17 +20,17 @@ jobs:
2120

2221
steps:
2322
- name: checkout
24-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2524
with:
2625
fetch-depth: 0
2726

2827
- name: setup dotnet
29-
uses: actions/setup-dotnet@v3
28+
uses: actions/setup-dotnet@v4
3029
with:
31-
dotnet-version: 6
30+
dotnet-version: 8
3231

3332
- name: setup msbuild
34-
uses: microsoft/setup-msbuild@v1
33+
uses: microsoft/setup-msbuild@v2
3534

3635
- name: build
3736
run: dotnet build -c ${{ env.Configuration }}
@@ -44,7 +43,7 @@ jobs:
4443

4544
- name: archive
4645
if: always()
47-
uses: actions/upload-artifact@v3
46+
uses: actions/upload-artifact@v4
4847
with:
49-
name: NetOfficeFw.Build-${{ env.VersionSuffix }}.nupkg
48+
name: NetOfficeFw.Build-${{ env.VersionSuffix }}.${{ matrix.configuration }}.nupkg
5049
path: dist/NetOfficeFw.Build.*.nupkg

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515

1616
steps:
1717
- name: checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121

2222
- name: setup dotnet
23-
uses: actions/setup-dotnet@v3
23+
uses: actions/setup-dotnet@v4
2424
with:
2525
dotnet-version: 6
2626

2727
- name: setup msbuild
28-
uses: microsoft/setup-msbuild@v1
28+
uses: microsoft/setup-msbuild@v2
2929

3030
- name: setup NuGetKeyVaultSignTool
3131
run: dotnet tool install --verbosity minimal --global NuGetKeyVaultSignTool --version 3.2.3

0 commit comments

Comments
 (0)