Skip to content

Commit 275a99f

Browse files
committed
Update build.yml
1 parent e93242c commit 275a99f

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# - To turn off auto-generation set:
77
#
8-
# [GitHubActions (AutoGenerate = false)]
8+
# [CustomGitHubActions (AutoGenerate = false)]
99
#
1010
# - To trigger manual generation invoke:
1111
#
@@ -34,6 +34,11 @@ jobs:
3434
name: windows-latest
3535
runs-on: windows-latest
3636
steps:
37+
- uses: actions/setup-dotnet@v4
38+
with:
39+
dotnet-version: |
40+
8.0
41+
9.0
3742
- uses: actions/checkout@v4
3843
- name: 'Run: Compile, UnitTest, IntegrationTest, Pack, Publish'
3944
run: ./build.cmd Compile UnitTest IntegrationTest Pack Publish
@@ -50,6 +55,11 @@ jobs:
5055
name: ubuntu-latest
5156
runs-on: ubuntu-latest
5257
steps:
58+
- uses: actions/setup-dotnet@v4
59+
with:
60+
dotnet-version: |
61+
8.0
62+
9.0
5363
- uses: actions/checkout@v4
5464
- name: 'Run: Compile, UnitTest, IntegrationTest, Pack, Publish'
5565
run: ./build.cmd Compile UnitTest IntegrationTest Pack Publish
@@ -66,6 +76,11 @@ jobs:
6676
name: macos-latest
6777
runs-on: macos-latest
6878
steps:
79+
- uses: actions/setup-dotnet@v4
80+
with:
81+
dotnet-version: |
82+
8.0
83+
9.0
6984
- uses: actions/checkout@v4
7085
- name: 'Run: Compile, UnitTest, IntegrationTest, Pack, Publish'
7186
run: ./build.cmd Compile UnitTest IntegrationTest Pack Publish

build/Build.CI.GitHubActions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
CacheKeyFiles = [],
3030
ConcurrencyCancelInProgress = true),
3131
]
32-
[GitHubActions(
32+
[CustomGitHubActions(
3333
"build",
3434
GitHubActionsImage.WindowsLatest,
3535
GitHubActionsImage.UbuntuLatest,

0 commit comments

Comments
 (0)