Update README.md (#1)

nuke fix
This commit is contained in:
Hasan Manzak 2023-02-23 04:38:03 +03:00 committed by GitHub
parent 515297502c
commit 333cba43c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 10 deletions

View File

@ -23,10 +23,12 @@ on:
- 'releases/*'
jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
ubuntu-20_04:
name: ubuntu-20_04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run './build.cmd Ci'
run: ./build.cmd Ci

View File

@ -28,7 +28,7 @@ jobs:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Run './build.cmd CiPublish'
run: ./build.cmd CiPublish
env:

View File

@ -29,14 +29,18 @@
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI"
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"NoLogo": {
@ -46,6 +50,10 @@
"NUGET_API_KEY": {
"type": "string"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"Plan": {
"type": "boolean",
"description": "Shows the execution plan (HTML)"

View File

@ -14,12 +14,15 @@ using static Nuke.Common.IO.FileSystemTasks;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
[ShutdownDotNetAfterServerBuild]
[GitHubActions("ci", GitHubActionsImage.UbuntuLatest,
[GitHubActions("ci", GitHubActionsImage.Ubuntu2004,
FetchDepth = 0,
OnPullRequestBranches = new[] {"master", "releases/*"},
AutoGenerate = true,
InvokedTargets = new[] {nameof(Ci)},
CacheKeyFiles = new string[0])]
[GitHubActions("ci_publish", GitHubActionsImage.UbuntuLatest,
CacheKeyFiles = new string[0]
)]
[GitHubActions("ci_publish", GitHubActionsImage.Ubuntu2004,
FetchDepth = 0,
OnPushBranches = new[] { "releases/*" },
OnPushTags = new[] { "v*" },
AutoGenerate = true,
@ -33,7 +36,7 @@ class Build : NukeBuild
[GitRepository] readonly GitRepository GitRepository;
[GitVersion] readonly GitVersion GitVersion;
[GitVersion(Framework = "netcoreapp3.1")] readonly GitVersion GitVersion;
[Solution] readonly Solution Solution;