mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 21:42:38 +01:00
parent
515297502c
commit
333cba43c6
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -23,10 +23,12 @@ on:
|
|||||||
- 'releases/*'
|
- 'releases/*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu-latest:
|
ubuntu-20_04:
|
||||||
name: ubuntu-latest
|
name: ubuntu-20_04
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Run './build.cmd Ci'
|
- name: Run './build.cmd Ci'
|
||||||
run: ./build.cmd Ci
|
run: ./build.cmd Ci
|
||||||
|
2
.github/workflows/ci_publish.yml
vendored
2
.github/workflows/ci_publish.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
name: ubuntu-latest
|
name: ubuntu-latest
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: Run './build.cmd CiPublish'
|
- name: Run './build.cmd CiPublish'
|
||||||
run: ./build.cmd CiPublish
|
run: ./build.cmd CiPublish
|
||||||
env:
|
env:
|
||||||
|
@ -29,14 +29,18 @@
|
|||||||
"AppVeyor",
|
"AppVeyor",
|
||||||
"AzurePipelines",
|
"AzurePipelines",
|
||||||
"Bamboo",
|
"Bamboo",
|
||||||
|
"Bitbucket",
|
||||||
"Bitrise",
|
"Bitrise",
|
||||||
"GitHubActions",
|
"GitHubActions",
|
||||||
"GitLab",
|
"GitLab",
|
||||||
"Jenkins",
|
"Jenkins",
|
||||||
|
"Rider",
|
||||||
"SpaceAutomation",
|
"SpaceAutomation",
|
||||||
"TeamCity",
|
"TeamCity",
|
||||||
"Terminal",
|
"Terminal",
|
||||||
"TravisCI"
|
"TravisCI",
|
||||||
|
"VisualStudio",
|
||||||
|
"VSCode"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"NoLogo": {
|
"NoLogo": {
|
||||||
@ -46,6 +50,10 @@
|
|||||||
"NUGET_API_KEY": {
|
"NUGET_API_KEY": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"Partition": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Partition to use on CI"
|
||||||
|
},
|
||||||
"Plan": {
|
"Plan": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Shows the execution plan (HTML)"
|
"description": "Shows the execution plan (HTML)"
|
||||||
|
@ -14,12 +14,15 @@ using static Nuke.Common.IO.FileSystemTasks;
|
|||||||
using static Nuke.Common.Tools.DotNet.DotNetTasks;
|
using static Nuke.Common.Tools.DotNet.DotNetTasks;
|
||||||
|
|
||||||
[ShutdownDotNetAfterServerBuild]
|
[ShutdownDotNetAfterServerBuild]
|
||||||
[GitHubActions("ci", GitHubActionsImage.UbuntuLatest,
|
[GitHubActions("ci", GitHubActionsImage.Ubuntu2004,
|
||||||
|
FetchDepth = 0,
|
||||||
OnPullRequestBranches = new[] {"master", "releases/*"},
|
OnPullRequestBranches = new[] {"master", "releases/*"},
|
||||||
AutoGenerate = true,
|
AutoGenerate = true,
|
||||||
InvokedTargets = new[] {nameof(Ci)},
|
InvokedTargets = new[] {nameof(Ci)},
|
||||||
CacheKeyFiles = new string[0])]
|
CacheKeyFiles = new string[0]
|
||||||
[GitHubActions("ci_publish", GitHubActionsImage.UbuntuLatest,
|
)]
|
||||||
|
[GitHubActions("ci_publish", GitHubActionsImage.Ubuntu2004,
|
||||||
|
FetchDepth = 0,
|
||||||
OnPushBranches = new[] { "releases/*" },
|
OnPushBranches = new[] { "releases/*" },
|
||||||
OnPushTags = new[] { "v*" },
|
OnPushTags = new[] { "v*" },
|
||||||
AutoGenerate = true,
|
AutoGenerate = true,
|
||||||
@ -33,7 +36,7 @@ class Build : NukeBuild
|
|||||||
|
|
||||||
[GitRepository] readonly GitRepository GitRepository;
|
[GitRepository] readonly GitRepository GitRepository;
|
||||||
|
|
||||||
[GitVersion] readonly GitVersion GitVersion;
|
[GitVersion(Framework = "netcoreapp3.1")] readonly GitVersion GitVersion;
|
||||||
|
|
||||||
[Solution] readonly Solution Solution;
|
[Solution] readonly Solution Solution;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user