More CUE
This commit is contained in:
parent
f301929d75
commit
e748552809
18
.github/workflows/ci.cue
vendored
18
.github/workflows/ci.cue
vendored
@ -8,27 +8,33 @@ _versions: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#Name: string
|
#Name: string
|
||||||
#Branches: branches: [string]
|
#Branches: branches: [string, ...]
|
||||||
|
#Tags: tags: [string, ...]
|
||||||
|
|
||||||
#On: {
|
#On: {
|
||||||
push: #Branches
|
push?: #Branches
|
||||||
pull_request: #Branches
|
pull_request?: #Branches
|
||||||
|
page_build?: #Branches
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#Action: "actions/checkout@v2"
|
||||||
#Steps: {
|
#Steps: {
|
||||||
uses: "actions/checkout@v2"
|
uses: #Action
|
||||||
} | {
|
} | {
|
||||||
name: string
|
name: string
|
||||||
run: string
|
run: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#OS_Version: "ubuntu-latest" | "macos-latest" | "windows_latest"
|
||||||
|
|
||||||
#Jobs: ci: {
|
#Jobs: ci: {
|
||||||
name: string
|
name: string
|
||||||
"runs-on": string
|
"runs-on": string
|
||||||
container: image: string
|
container: image: string
|
||||||
strategy:
|
strategy:
|
||||||
matrix: {
|
matrix: {
|
||||||
otp_vsn: [string, ...]
|
otp_vsn: [...string]
|
||||||
os: ["ubuntu-latest"]
|
os: [...#OS_Version]
|
||||||
}
|
}
|
||||||
steps: [#Steps, ...]
|
steps: [#Steps, ...]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user