Skip to content

Commit 01b768a

Browse files
committed
👷‍♀️ switch to win img for .net9; dont tigger pr build on push to main
1 parent f605907 commit 01b768a

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

.github/workflows/continuous.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ name: continuous
1919
on: [push]
2020

2121
jobs:
22-
ubuntu-latest:
23-
name: ubuntu-latest
24-
runs-on: ubuntu-latest
22+
windows-latest:
23+
name: windows-latest
24+
runs-on: windows-latest
2525
steps:
2626
- uses: actions/checkout@v4
2727
with:

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ name: pr
1919
on: [pull_request]
2020

2121
jobs:
22-
ubuntu-latest:
23-
name: ubuntu-latest
24-
runs-on: ubuntu-latest
22+
windows-latest:
23+
name: windows-latest
24+
runs-on: windows-latest
2525
steps:
2626
- uses: actions/checkout@v4
2727
with:

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ name: release
1818

1919
on:
2020
push:
21-
branches:
22-
- main
2321
tags:
2422
- '[0-9]+.[0-9]+.[0-9]+'
2523

2624
jobs:
27-
ubuntu-latest:
28-
name: ubuntu-latest
29-
runs-on: ubuntu-latest
25+
windows-latest:
26+
name: windows-latest
27+
runs-on: windows-latest
3028
steps:
3129
- uses: actions/checkout@v4
3230
with:

build/Build.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,20 @@
1313

1414
[GitHubActions(
1515
"continuous",
16-
GitHubActionsImage.UbuntuLatest,
16+
GitHubActionsImage.WindowsLatest,
1717
On = [GitHubActionsTrigger.Push],
1818
FetchDepth = 0,
1919
InvokedTargets = [nameof(Test), nameof(Pack)])]
2020
[GitHubActions(
2121
"release",
22-
GitHubActionsImage.UbuntuLatest,
23-
OnPushBranches = ["main"],
22+
GitHubActionsImage.WindowsLatest,
2423
OnPushTags = ["[0-9]+.[0-9]+.[0-9]+"],
2524
FetchDepth = 0,
2625
ImportSecrets = [nameof(NuGetApiKey)],
2726
InvokedTargets = [nameof(Publish)])]
2827
[GitHubActions(
2928
"pr",
30-
GitHubActionsImage.UbuntuLatest,
29+
GitHubActionsImage.WindowsLatest,
3130
On = [GitHubActionsTrigger.PullRequest],
3231
FetchDepth = 0,
3332
InvokedTargets = [nameof(Test), nameof(Pack)])]

0 commit comments

Comments
 (0)