Skip to content

Commit

Permalink
Merge pull request #5 from calverp/calverp-patch-1
Browse files Browse the repository at this point in the history
Calverp patch 1
  • Loading branch information
calverp authored Oct 18, 2024
2 parents 195eab5 + 719ffa9 commit 135f281
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: .NET

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 4.7.2
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
25 changes: 23 additions & 2 deletions .octopus/Grades/deployment_process.ocl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
step "Run a Script" {
step "run-a-script" {
name = "Run a Script"

action {
action_type = "Octopus.Script"
Expand All @@ -7,6 +8,26 @@ step "Run a Script" {
Octopus.Action.Script.ScriptSource = "Inline"
Octopus.Action.Script.Syntax = "PowerShell"
}
worker_pool = "Hosted Windows"
worker_pool = "hosted-windows"
}
}

step "get-details" {
name = "Get-Details"

action {
properties = {
Octopus.Action.RunOnServer = "true"
Octopus.Action.Template.Id = "ActionTemplates-3061"
Octopus.Action.Template.Version = "1"
}
worker_pool_variable = ""

git_dependencies {
default_branch = "master"
git_credential_id = "GitCredentials-2"
git_credential_type = "Library"
repository_uri = "https://github.com/calverp/Grades.git"
}
}
}
2 changes: 1 addition & 1 deletion .octopus/Grades/schema_version.ocl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = 3
version = 9
3 changes: 3 additions & 0 deletions .octopus/Grades/variables.ocl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
variable "test" {
value "new2" {}
}

0 comments on commit 135f281

Please sign in to comment.