Merge pull request #119 from github/thyeggman/update-testdata
Sync test data changes
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@ skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- run: echo hi
|
||||
continue-on-error: true
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
build2:
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
concurrency: staging
|
||||
build4:
|
||||
runs-on: macos-latest
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ref
|
||||
cancel-in-progress: ${{ github.ref }}
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
bad_insert1: "This is a bad ${{ insert }}"
|
||||
bad_insert2: "${{ insert }} are bad at the beginning"
|
||||
${{ insert }}: ${{ github.ref }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-insert.yml (Line: 6, Col: 20): The directive 'insert' is not allowed in this context. Directives are not supported for expressions that are embedded within a string. Directives are only supported when the entire value is an expression."
|
||||
},
|
||||
{
|
||||
"Message": ".github/workflows/errors-insert.yml (Line: 7, Col: 20): The directive 'insert' is not allowed in this context. Directives are not supported for expressions that are embedded within a string. Directives are only supported when the entire value is an expression."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- null : ' '
|
||||
run: echo {{ 😀 }}
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-invalid-mapping-key.yml (Line: 6, Col: 9): Unexpected value ''"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -15,7 +15,7 @@ jobs:
|
||||
steps:
|
||||
- run: echo hi
|
||||
build3:
|
||||
runs-on:
|
||||
runs-on:
|
||||
group: ent/
|
||||
steps:
|
||||
- run: echo hi
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
bad-strategy-key:
|
||||
strategy:
|
||||
bad-key:
|
||||
os: [10]
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-matrix-bad-key.yml (Line: 5, Col: 7): Unexpected value 'bad-key'"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
empty-vector:
|
||||
strategy:
|
||||
matrix:
|
||||
os: []
|
||||
version: [10,12]
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"errors": [
|
||||
{
|
||||
"Message": ".github/workflows/errors-matrix-empty-vector.yml (Line: 6, Col: 13): Matrix vector 'os' does not contain any values"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-depth: 5
|
||||
skip:
|
||||
- TypeScript
|
||||
max-depth: 5
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-file-size: 124
|
||||
skip:
|
||||
- TypeScript
|
||||
max-file-size: 124
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-result-size: 768
|
||||
skip:
|
||||
- TypeScript
|
||||
max-result-size: 768
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
+1
-1
@@ -1,8 +1,8 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
max-result-size: 2048
|
||||
skip:
|
||||
- TypeScript
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
steps:
|
||||
- run: echo Hello && World #string token
|
||||
build2:
|
||||
if: false
|
||||
if: false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo 1
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Switch to using Python 3.10 by default
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: >-
|
||||
3.10
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__actions_setup-python",
|
||||
"name": "Switch to using Python 3.10 by default",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"uses": "actions/setup-python@v4",
|
||||
"with": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "python-version",
|
||||
"Value": "3.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
matrix_map: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
needs: generate
|
||||
env:
|
||||
${{ insert }}: ${{ fromJson(needs.generate.outputs.matrix_map) }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "generate",
|
||||
"name": "generate",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"outputs": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix_map",
|
||||
"Value": {
|
||||
"type": 3,
|
||||
"expr": "steps.set-matrix.outputs.matrix"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "run",
|
||||
"name": "run",
|
||||
"needs": [
|
||||
"generate"
|
||||
],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"env": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": {
|
||||
"type": 4,
|
||||
"directive": "insert"
|
||||
},
|
||||
"Value": {
|
||||
"type": 3,
|
||||
"expr": "fromJson(needs.generate.outputs.matrix_map)"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -21,7 +21,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
build4:
|
||||
build4:
|
||||
needs:
|
||||
- build
|
||||
- build2
|
||||
|
||||
@@ -0,0 +1,285 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
matrix-basic:
|
||||
strategy:
|
||||
matrix:
|
||||
version: [10, 12, 14]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
matrix-nested-sequences:
|
||||
strategy:
|
||||
matrix:
|
||||
version: [[[[10]],2],12,14]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
matrix-with-infinity:
|
||||
strategy:
|
||||
matrix:
|
||||
version: [1, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- run: echo hi
|
||||
nested-matrix:
|
||||
strategy:
|
||||
matrix: { vector1: [ {foo: {bar: baz} } ] }
|
||||
runs-on: linux
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "matrix-basic",
|
||||
"name": "matrix-basic",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "version",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
10,
|
||||
12,
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Key": "os",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"ubuntu-latest",
|
||||
"windows-latest"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": {
|
||||
"type": 3,
|
||||
"expr": "matrix.os"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "matrix-nested-sequences",
|
||||
"name": "matrix-nested-sequences",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "version",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 1,
|
||||
"seq": [
|
||||
10
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
2
|
||||
]
|
||||
},
|
||||
12,
|
||||
14
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Key": "os",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"ubuntu-latest",
|
||||
"windows-latest"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": {
|
||||
"type": 3,
|
||||
"expr": "matrix.os"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "matrix-with-infinity",
|
||||
"name": "matrix-with-infinity",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "version",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
1,
|
||||
"Infinity"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Key": "os",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"ubuntu-latest",
|
||||
"windows-latest"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": {
|
||||
"type": 3,
|
||||
"expr": "matrix.os"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "job",
|
||||
"id": "nested-matrix",
|
||||
"name": "nested-matrix",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "vector1",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
{
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "foo",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "bar",
|
||||
"Value": "baz"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": "linux",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+3
-3
@@ -10,7 +10,7 @@ jobs:
|
||||
name: ${{ github.actor }}
|
||||
timeout-minutes: ${{ github.ref }}
|
||||
cancel-timeout-minutes: 300
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
env:
|
||||
@@ -28,10 +28,10 @@ jobs:
|
||||
build2:
|
||||
runs-on: [self-hosted, linux]
|
||||
continue-on-error: true
|
||||
name: Jobs Repro Hardcode
|
||||
name: Jobs Repro Hardcode
|
||||
timeout-minutes: 360
|
||||
cancel-timeout-minutes: 300
|
||||
concurrency:
|
||||
concurrency:
|
||||
group: groupA
|
||||
cancel-in-progress: true
|
||||
env:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Typescript
|
||||
- TypeScript
|
||||
---
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- Typescript
|
||||
- TypeScript
|
||||
---
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -22,6 +21,10 @@ on:
|
||||
- debug
|
||||
# Defaults to string
|
||||
input4:
|
||||
input5-Env:
|
||||
description: 'Test environment'
|
||||
type: environment
|
||||
required: true
|
||||
jobs:
|
||||
my-job:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -33,7 +36,8 @@ jobs:
|
||||
"input1": "string",
|
||||
"input2": "boolean",
|
||||
"input3": "choice",
|
||||
"input4": "string"
|
||||
"input4": "string",
|
||||
"input5-Env": "environment"
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Typescript
|
||||
- TypeScript
|
||||
---
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- run: echo hi
|
||||
continue-on-error: true
|
||||
deploy:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
include-source: true # Preserve file/line/col in serialized output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
|
||||
+14
-38
@@ -33,46 +33,34 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 3,
|
||||
"col": 3,
|
||||
"lit": "build"
|
||||
},
|
||||
"Name": {
|
||||
"name": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 3,
|
||||
"col": 3,
|
||||
"lit": "build"
|
||||
},
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": {
|
||||
"ref": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 4,
|
||||
"col": 11,
|
||||
"lit": "some-org-1/some-repo-1/.github/workflows/build.yml@v1"
|
||||
},
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": {
|
||||
@@ -120,46 +108,34 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 5,
|
||||
"col": 3,
|
||||
"lit": "deploy"
|
||||
},
|
||||
"Name": {
|
||||
"name": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 5,
|
||||
"col": 3,
|
||||
"lit": "deploy"
|
||||
},
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": {
|
||||
"ref": {
|
||||
"type": 0,
|
||||
"file": 1,
|
||||
"line": 6,
|
||||
"col": 11,
|
||||
"lit": "some-org-2/some-repo-2/.github/workflows/deploy.yml@v2"
|
||||
},
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": {
|
||||
|
||||
@@ -3,7 +3,7 @@ skip:
|
||||
- TypeScript
|
||||
---
|
||||
# This is meant to cover all the different types of TemplateToken that are output
|
||||
# with include-source: true. Currently it is missing type 4 (insert expression)
|
||||
# with include-source: true. Currently it is missing type 4 (insert expression)
|
||||
# and type 7 (null), once we have matrix strategy we should be able to get null or combine
|
||||
# this test with preserves-source-info-basic.yml.
|
||||
on: push
|
||||
|
||||
@@ -53,17 +53,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -200,7 +199,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -229,16 +228,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
@@ -66,19 +66,18 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-1",
|
||||
"Name": "deploy-1",
|
||||
"Needs": [
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-1",
|
||||
"name": "deploy-1",
|
||||
"needs": [
|
||||
"build"
|
||||
],
|
||||
"If": {
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -99,7 +98,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -108,7 +107,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": {
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -129,7 +128,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": {
|
||||
"secret-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -141,14 +140,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
@@ -184,19 +176,18 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-2",
|
||||
"Name": "deploy-2",
|
||||
"Needs": [
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-2",
|
||||
"name": "deploy-2",
|
||||
"needs": [
|
||||
"build"
|
||||
],
|
||||
"If": {
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -217,7 +208,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -226,7 +217,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": {
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -247,15 +238,8 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": true,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"inherit-secrets": true,
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
|
||||
+9
-19
@@ -35,17 +35,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy",
|
||||
"Name": "deploy",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy",
|
||||
"name": "deploy",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -98,7 +97,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -119,16 +118,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
|
||||
@@ -26,28 +26,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
@@ -71,28 +59,16 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build1",
|
||||
"Name": "custom name",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build1",
|
||||
"name": "custom name",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
@@ -116,31 +92,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": {
|
||||
"type": 3,
|
||||
"expr": "github.ref"
|
||||
},
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
|
||||
+14
-38
@@ -28,51 +28,27 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-0",
|
||||
"Name": "deploy-level-0",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-0",
|
||||
"name": "deploy-level-0",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-1.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-1",
|
||||
"Name": "deploy-level-1",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1",
|
||||
"name": "deploy-level-1",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-2.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-1",
|
||||
|
||||
+205
@@ -0,0 +1,205 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
max-nested-reusable-workflows-depth: 2
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
a:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-1a.yml@v1
|
||||
b:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-1b.yml@v1
|
||||
c:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-1c.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-1a.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1a:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-2a.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-2a.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-2a:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-1b.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1b:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-2b.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-2b.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-2b:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-1c.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-1c:
|
||||
uses: contoso/templates/.github/workflows/deploy-level-2c.yml@v1
|
||||
---
|
||||
contoso/templates/.github/workflows/deploy-level-2c.yml@v1
|
||||
---
|
||||
on: workflow_call
|
||||
jobs:
|
||||
deploy-level-2c:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "a",
|
||||
"name": "a",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1a.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1a",
|
||||
"name": "deploy-level-1a",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2a.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-2a",
|
||||
"name": "deploy-level-2a",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "b",
|
||||
"name": "b",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1b.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1b",
|
||||
"name": "deploy-level-1b",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2b.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-2b",
|
||||
"name": "deploy-level-2b",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "c",
|
||||
"name": "c",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1c.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1c",
|
||||
"name": "deploy-level-1c",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2c.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-2c",
|
||||
"name": "deploy-level-2c",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+24
-57
@@ -42,80 +42,47 @@ jobs:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-0",
|
||||
"Name": "deploy-level-0",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-0",
|
||||
"name": "deploy-level-0",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-1.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-1.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-1",
|
||||
"Name": "deploy-level-1",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-1",
|
||||
"name": "deploy-level-1",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-2.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-2.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "deploy-level-3",
|
||||
"Name": "deploy-level-3",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "deploy-level-3",
|
||||
"name": "deploy-level-3",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/deploy-level-3.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/deploy-level-3.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy-level-3",
|
||||
|
||||
+8
-19
@@ -47,30 +47,19 @@ permissions:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
Vendored
+8
-19
@@ -47,30 +47,19 @@ jobs:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+15
-38
@@ -27,28 +27,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -72,30 +60,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+15
-38
@@ -27,28 +27,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -72,30 +60,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+16
-38
@@ -32,30 +32,19 @@ jobs:
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "read"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -82,30 +71,19 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"permissions": {
|
||||
"actions": "write"
|
||||
},
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+10
-19
@@ -31,17 +31,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"input-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -58,7 +57,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InputValues": {
|
||||
"input-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -70,15 +69,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": {
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -101,7 +92,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build-it",
|
||||
|
||||
@@ -33,28 +33,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -78,28 +66,16 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso2/templates2/.github/workflows/build2.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso2/templates2/.github/workflows/build2.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy2",
|
||||
|
||||
@@ -21,28 +21,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
@@ -27,22 +27,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": null,
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": false,
|
||||
"Outputs": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"outputs": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -66,12 +60,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "job1",
|
||||
|
||||
Vendored
+9
-19
@@ -25,19 +25,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -46,7 +43,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": {
|
||||
"secret-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -58,14 +55,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
@@ -32,19 +32,16 @@ jobs:
|
||||
{
|
||||
"jobs": [
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build",
|
||||
"Name": "build",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -61,7 +58,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": {
|
||||
"secret-values": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -73,14 +70,7 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"InheritSecrets": false,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
@@ -104,19 +94,16 @@ jobs:
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "reusableWorkflowJob",
|
||||
"Id": "build2",
|
||||
"Name": "build2",
|
||||
"Needs": [],
|
||||
"If": {
|
||||
"type": "reusableWorkflowJob",
|
||||
"id": "build2",
|
||||
"name": "build2",
|
||||
"needs": [],
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"Ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"Permissions": null,
|
||||
"InputDefinitions": null,
|
||||
"InputValues": null,
|
||||
"SecretDefinitions": {
|
||||
"ref": "contoso/templates/.github/workflows/build.yml@v1",
|
||||
"secret-definitions": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
@@ -133,15 +120,8 @@ jobs:
|
||||
}
|
||||
]
|
||||
},
|
||||
"SecretValues": null,
|
||||
"InheritSecrets": true,
|
||||
"Outputs": null,
|
||||
"Defaults": null,
|
||||
"Env": null,
|
||||
"Concurrency": null,
|
||||
"EmbeddedConcurrency": null,
|
||||
"Strategy": null,
|
||||
"Jobs": [
|
||||
"inherit-secrets": true,
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "deploy",
|
||||
|
||||
+18
@@ -6,10 +6,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Actions/Capitalized@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: docker://alpine:latest
|
||||
- run: echo hello
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Actions/Capitalized@v2
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: docker://alpine:latest
|
||||
- run: echo hello
|
||||
@@ -34,6 +36,14 @@ jobs:
|
||||
},
|
||||
"uses": "actions/checkout@v2"
|
||||
},
|
||||
{
|
||||
"id": "__Actions_Capitalized",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"uses": "Actions/Capitalized@v2"
|
||||
},
|
||||
{
|
||||
"id": "__actions_setup-node",
|
||||
"if": {
|
||||
@@ -66,6 +76,14 @@ jobs:
|
||||
},
|
||||
"uses": "actions/checkout@v2"
|
||||
},
|
||||
{
|
||||
"id": "__Actions_Capitalized_2",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"uses": "Actions/Capitalized@v2"
|
||||
},
|
||||
{
|
||||
"id": "__actions_setup-node_2",
|
||||
"if": {
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
---
|
||||
on: push
|
||||
env:
|
||||
UNDERSCORED_INT_AS_STRING: 12_345
|
||||
UNDERSCORED_FLOAT_AS_STRING: 23_456.789_321
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
vector-1:
|
||||
- 12_345
|
||||
- 23_456.789_321
|
||||
steps:
|
||||
- run: echo hi
|
||||
---
|
||||
{
|
||||
"env": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "UNDERSCORED_INT_AS_STRING",
|
||||
"Value": "12_345"
|
||||
},
|
||||
{
|
||||
"Key": "UNDERSCORED_FLOAT_AS_STRING",
|
||||
"Value": "23_456.789_321"
|
||||
}
|
||||
]
|
||||
},
|
||||
"jobs": [
|
||||
{
|
||||
"type": "job",
|
||||
"id": "build",
|
||||
"name": "build",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"strategy": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "matrix",
|
||||
"Value": {
|
||||
"type": 2,
|
||||
"map": [
|
||||
{
|
||||
"Key": "vector-1",
|
||||
"Value": {
|
||||
"type": 1,
|
||||
"seq": [
|
||||
"12_345",
|
||||
"23_456.789_321"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runs-on": "ubuntu-latest",
|
||||
"steps": [
|
||||
{
|
||||
"id": "__run",
|
||||
"if": {
|
||||
"type": 3,
|
||||
"expr": "success()"
|
||||
},
|
||||
"run": "echo hi"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- Go
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
@@ -35,7 +34,7 @@ jobs:
|
||||
|
||||
# Customer-breaking change we discovered when upgrading from YamlDotNet.Signed 6.0.0 to YamlDotNet 12.0.2.
|
||||
# YamlDotNet 12.0.2 produces the error "While scanning a multi-line double-quoted scalar, found wrong indentation."
|
||||
- "hello
|
||||
- "hello
|
||||
world"
|
||||
|
||||
steps:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
@@ -12,6 +12,14 @@ jobs:
|
||||
dot: .
|
||||
single-quoted-number: '8'
|
||||
double-quoted-number: "9"
|
||||
hex-number: 0xCB2431
|
||||
hex-string: "0xCB2431"
|
||||
# binary-number: 0b10100111001 // Binary numbers are not supported by C# at the moment
|
||||
# binary-string: "0b1111"
|
||||
octal-number: 0o1234567
|
||||
octal-string: "0o1234567"
|
||||
python-version: >-
|
||||
3.10
|
||||
---
|
||||
{
|
||||
"jobs": [
|
||||
@@ -46,6 +54,26 @@ jobs:
|
||||
{
|
||||
"Key": "double-quoted-number",
|
||||
"Value": "9"
|
||||
},
|
||||
{
|
||||
"Key": "hex-number",
|
||||
"Value": "13313073"
|
||||
},
|
||||
{
|
||||
"Key": "hex-string",
|
||||
"Value": "0xCB2431"
|
||||
},
|
||||
{
|
||||
"Key": "octal-number",
|
||||
"Value": "342391"
|
||||
},
|
||||
{
|
||||
"Key": "octal-string",
|
||||
"Value": "0o1234567"
|
||||
},
|
||||
{
|
||||
"Key": "python-version",
|
||||
"Value": "3.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include-source: false # Drop file/line/col from output
|
||||
skip:
|
||||
- TypeScript
|
||||
- TypeScript
|
||||
---
|
||||
on: push
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user