Skip to content

Commit

Permalink
Merge pull request #36 from Titlehhhh/development
Browse files Browse the repository at this point in the history
Test ci cd
  • Loading branch information
Titlehhhh authored Nov 27, 2023
2 parents 97c0325 + db8ffc1 commit 8e79c75
Show file tree
Hide file tree
Showing 7 changed files with 227 additions and 67 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ name: "Build"
on:
push:
branches:
- development
- preview
- main
- rc
paths-ignore:
- '**/*.md'
- '**/*.gitignore'
- '**/*.gitattributes'
pull_request:
branches:
- development
- preview
- main
- rc
paths-ignore:
- '**/*.md'
- '**/*.gitignore'
Expand Down Expand Up @@ -52,8 +56,11 @@ jobs:
- name: set script permissions
run: chmod +x ./build.sh

- name: Publish
run: ./build.sh push
- name: Run './build.cmd'
run: ./build.cmd PublishApp
env:
NuGetApiKey: ${{ secrets.NUGET_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}



Expand Down
23 changes: 21 additions & 2 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,20 @@
"build": {
"type": "object",
"properties": {
"Configuration": {
"type": "string",
"enum": [
"Debug",
"Release"
]
},
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
},
"FeedzApiKey": {
"type": "string"
},
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
Expand Down Expand Up @@ -39,6 +49,9 @@
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"NuGetApiKey": {
"type": "string"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
Expand Down Expand Up @@ -66,8 +79,11 @@
"enum": [
"Clean",
"Compile",
"CreateRelease",
"LibsPush",
"Pack",
"Publish",
"Print",
"PublishApp",
"Restore"
]
}
Expand All @@ -84,8 +100,11 @@
"enum": [
"Clean",
"Compile",
"CreateRelease",
"LibsPush",
"Pack",
"Publish",
"Print",
"PublishApp",
"Restore"
]
}
Expand Down
9 changes: 9 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')">
<PrivateAssets>all</PrivateAssets>
<Version>3.6.133</Version>
</PackageReference>
</ItemGroup>
</Project>
Loading

0 comments on commit 8e79c75

Please sign in to comment.